Re: [PATCH] of/fdt: Implement use BIN_ATTR_SIMPLE macro for fdt sysfs attribute
From: Rob Herring (Arm)
Date: Tue Dec 03 2024 - 11:52:53 EST
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!