[PATCH 3/5] powerpc/powernv/flash: Use BIN_ATTR_ADMIN_WO() for bin_attribute definition
    Tzung-Bi Shih 
    tzungbi at kernel.org
       
    Thu Dec  5 20:20:59 AEDT 2024
    
    
  
On Mon, Dec 02, 2024 at 08:00:38PM +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