]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: int3400: Remove unneeded data_vault attribute_group
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 21 Nov 2024 16:29:32 +0000 (17:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Nov 2024 14:07:29 +0000 (15:07 +0100)
commit13f3cbfbb8c9f3825a1e4e4371fe040fb35e41d5
tree746c0fc9216c4b8470c1c05331f75b20cb1b56d0
parent7082503622986537f57bdb5ef23e69e70cfad881
thermal: int3400: Remove unneeded data_vault attribute_group

The group only contains a single entry and the conditionals around its
lifecycle make clear that this won't change.

Remove the unnecessary group.

This saves some memory and it's easier to read.

The removal of a non-const bin_attribute[] instance is also a
preparation for the constification of struct bin_attributes.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20241121-sysfs-const-bin_attr-int340x_thermal-v1-1-2436facf9dae@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/int3400_thermal.c