hwmon: (pmbus/ibm-cffps) Use default debugfs attributes and lock function
authorEddie James <eajames@linux.ibm.com>
Wed, 12 Apr 2023 16:15:26 +0000 (11:15 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 19 Apr 2023 14:08:40 +0000 (07:08 -0700)
commit1680796b21c33cc13f413f8c39640b594092a3a4
treeeaac0ff569c0aba29764c0e45107a1fe5222cf1f
parenta7ac37183ac2a0cc46d857997b2dd24997ca2754
hwmon: (pmbus/ibm-cffps) Use default debugfs attributes and lock function

Switch the driver to use the default debugfs attributes instead of
ones that provide the same data under different names. Use the lock
functions for the debugfs and led attributes, and simplify the input
history operation by dropping the timer and lock.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230412161526.252294-3-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ibm-cffps.c