aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-07-09 22:37:26 +0200
committerRafael J. Wysocki <[email protected]>2024-08-02 16:44:22 +0200
commitf6bae04a40f4441c62f4f8cd3bbe0ecf8b54033e (patch)
tree2c174d1c7cb2d6c08df2b713fdc7a55c1cdeece4 /lib/crypto/mpi/mpiutil.c
parent52831d9bbc9aa029aed525dfbe61cb78c1db991c (diff)
ACPI: sysfs: manage attributes as attribute_group
The current manual attribute management is inconsistent and brittle. Not all return values of device_create_file() are checked and the cleanup logic needs to be kept up to date manually. Moving all attributes into an attribute_group and using the is_visible() callback allows the management of all attributes as a single unit. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions