hwmon: (w83627ehf) Remove w83627ehf_remove()
authorArmin Wolf <W_Armin@gmx.de>
Fri, 9 Jul 2021 18:45:00 +0000 (20:45 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:25 +0000 (14:54 -0700)
commit228f2aed8777a6d52cb7fa7f454c1d47511b677f
treebaf1a5ae0ee5bc1e2d28dc97246acf83bde4b03b
parent964c1c91ed60dbae30ea30ebe488a6195aa5b613
hwmon: (w83627ehf) Remove w83627ehf_remove()

Using devm_request_region() allows us to omit
w83627ehf_remove() and also simplifies error
handling during probe.
Also fixed a checkpatch issue.

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