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:32 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-05 13:00:28 +0000
commita1ab720ee50686d9e9dcb6935995a75696ed2493 (patch)
tree9991c731391e7b5b5e3c5e708c9d36a751db6d38 /drivers/platform/x86/intel/pmt/class.c
parentsysfs: introduce callback attribute_group::bin_size (diff)
downloadkernel-a1ab720ee50686d9e9dcb6935995a75696ed2493.tar.gz
kernel-a1ab720ee50686d9e9dcb6935995a75696ed2493.zip
PCI/sysfs: Calculate bin_attribute size through bin_size()
Stop abusing the is_bin_visible() callback to calculate the attribute size. Instead use the new, dedicated bin_size() one. Signed-off-by: Thomas Weißschuh <[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