hwmon: (sch56xx-common) Use helper function
authorArmin Wolf <W_Armin@gmx.de>
Sat, 8 May 2021 13:14:56 +0000 (15:14 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 17 Jun 2021 11:21:44 +0000 (04:21 -0700)
commit989c9c675bbbf3264b42b05e8924a9930b500e6c
tree9d06a78e607a2df24b55f860f2451dbc86377595
parent6df5cba5c9e7bf98c114f15835d20dfd6c7898cf
hwmon: (sch56xx-common) Use helper function

Use watchdog_set_nowayout() to process param
setting and change param type to bool.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210508131457.12780-4-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sch56xx-common.c