aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-11-03 17:03:34 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-05 13:00:28 +0000
commitb626816fdd7f9beb841856ba049396cff46e99aa (patch)
treebc8c5e58f1534e54deb81b680587e22fc037b2f2 /drivers/platform/x86/intel/pmt/class.c
parentnvmem: core: calculate bin_attribute size through bin_size() (diff)
downloadkernel-b626816fdd7f9beb841856ba049396cff46e99aa.tar.gz
kernel-b626816fdd7f9beb841856ba049396cff46e99aa.zip
sysfs: treewide: constify attribute callback of bin_is_visible()
The is_bin_visible() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const. As there are not many callback implementers perform this change throughout the tree at once. Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Martin K. Petersen <[email protected]> Acked-by: Jason Gunthorpe <[email protected]> Acked-by: Ira Weiny <[email protected]> Acked-by: Krzysztof Wilczyński <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions