hwmon: (w83792d) convert to use devm_i2c_new_dummy_device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 3 Sep 2019 18:12:55 +0000 (20:12 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commitf64211151db4269341ee6432ce832ae3756725ad
tree06d8511bcf45c66fe6b74ba0895805c523964e80
parent358d2071100d84cfe6ef4a9d70ac0d998a1d501e
hwmon: (w83792d) convert to use devm_i2c_new_dummy_device

And simplify the error handling.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20190903181256.13450-3-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83792d.c