hwmon: (tmp421) Convert to use new hwmon registration API
authorGuenter Roeck <linux@roeck-us.net>
Sat, 25 Jun 2016 17:41:18 +0000 (10:41 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 9 Sep 2016 04:34:18 +0000 (21:34 -0700)
commitbb43cc45dac37475c70b114502f067c535389edc
tree1f9d531729d7a5d80cd5f8c1dc95739385610f19
parent0208531d9090af3ca9d985dfdf66d1a71da0e58f
hwmon: (tmp421) Convert to use new hwmon registration API

Simplify code and reduce code size by using the new hwmon
registration API.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c