hwmon: (w83627ehf) Switch to SIMPLE_DEV_PM_OPS
authorArmin Wolf <W_Armin@gmx.de>
Wed, 21 Jul 2021 19:25:19 +0000 (21:25 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:25 +0000 (14:54 -0700)
commitef9e78c0d1ff423be08f34e6a8c226aa7c23ce74
treea3030062c7bdc78e61d086b6ff811954536706a8
parent04fecf0c6155f73ed446b5b67726ff882b8078a9
hwmon: (w83627ehf) Switch to SIMPLE_DEV_PM_OPS

Use SIMPLE_DEV_PM_OPS() to also assign poweroff
and thaw callbacks. Remove the now obsolete checking
of CONFIG_PM too.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210721192519.28784-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627ehf.c