diff options
| author | Thomas Weißschuh <[email protected]> | 2024-11-03 17:03:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-11-05 13:00:28 +0000 |
| commit | 00ab6e97de0071b21a548e0a823348b3309970ba (patch) | |
| tree | 52e4df9fe7aa5b1ca0407f4fa6c1ee54f5ce31fe /drivers/platform/x86/intel/pmt/class.c | |
| parent | PCI/sysfs: Calculate bin_attribute size through bin_size() (diff) | |
| download | kernel-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
