hwmon: (g762) Use of_property_read_u32 at appropriate place
authorAxel Lin <axel.lin@ingics.com>
Fri, 1 Aug 2014 02:07:25 +0000 (10:07 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 18:35:40 +0000 (11:35 -0700)
commitfce9626cd93abaf1ef21b361f8a0fa493cc855b2
tree34287fce2df412676535300c317e62db6204eaeb
parentcc336546ddca8c22de83720632431c16a5f9fe9a
hwmon: (g762) Use of_property_read_u32 at appropriate place

Simplify the code a bit and also improve readability.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/g762.c