[PATCH 5/5] scsi: arcmsr: Use BIN_ATTR_ADMIN_WO() for bin_attribute definitions

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


On Mon, Dec 02, 2024 at 08:00:40PM +0100, Thomas Weißschuh wrote:
> Using the macro saves some lines of code and prepares the attributes for
> the general constifications of struct bin_attributes.
> 
> While at it also constify the callback parameters.
> 
> 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