Re: [PATCH] of/fdt: Implement use BIN_ATTR_SIMPLE macro for fdt sysfs attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Nov 2024 13:14:00 +0100, Thomas Weißschuh wrote:
> The usage of the macro allows to remove the custom handler function,
> saving some memory. Additionally the code is easier to read.
> 
> While at it also mark the attribute as __ro_after_init, as the only
> modification happens in the __init phase.
> 
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
>  drivers/of/fdt.c | 16 ++++------------
>  1 file changed, 4 insertions(+), 12 deletions(-)
> 

Applied, thanks!





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux