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:33 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-05 13:00:28 +0000
commit00ab6e97de0071b21a548e0a823348b3309970ba (patch)
tree52e4df9fe7aa5b1ca0407f4fa6c1ee54f5ce31fe /drivers/platform/x86/intel/pmt/class.c
parentPCI/sysfs: Calculate bin_attribute size through bin_size() (diff)
downloadkernel-00ab6e97de0071b21a548e0a823348b3309970ba.tar.gz
kernel-00ab6e97de0071b21a548e0a823348b3309970ba.zip
nvmem: core: 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