[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173324476215.1949223.15229221375993731416.robh@kernel.org>
Date: Tue, 3 Dec 2024 10:52:44 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Saravana Kannan <saravanak@...gle.com>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH] of/fdt: Implement use BIN_ATTR_SIMPLE macro for fdt
sysfs attribute
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@...ssschuh.net>
> ---
> drivers/of/fdt.c | 16 ++++------------
> 1 file changed, 4 insertions(+), 12 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists