]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d701f058d2cd9fe1e335cca58e98ba893a4fe56
treebaf1a5ae0ee5bc1e2d28dc97246acf83bde4b03b
parent879d13b73500ad1b3f76063d16f9492e479d0789
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