[PATCH 2/5] s390/sclp_config: use BIN_ATTR_ADMIN_WO() for bin_attribute definition

Tzung-Bi Shih tzungbi at kernel.org
Thu Dec 5 20:20:46 AEDT 2024


On Mon, Dec 02, 2024 at 08:00:37PM +0100, Thomas Weißschuh wrote:
> Using the macro saves some lines of code and prepares the attribute for
> the general constifications of struct bin_attributes.
> 
> While at it also constify the callback parameter.
> 
> Signed-off-by: Thomas Weißschuh <linux at weissschuh.net>

Reviewed-by: Tzung-Bi Shih <tzungbi at kernel.org>


More information about the Linuxppc-dev mailing list