hwmon: (ibmpowernv) Use of_property_read_u32 at appropriate place
authorAxel Lin <axel.lin@ingics.com>
Fri, 1 Aug 2014 04:38:47 +0000 (12:38 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:03:05 +0000 (07:03 -0700)
commit18d03f3cbd229ad9b03e12335ea066461fc00c73
treeb37bbbb3e73aa3b559987c3b557ffe284e738c03
parent746f68841a530ea0b6fd8f2ec92815ff087b962c
hwmon: (ibmpowernv) 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>
Tested-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmpowernv.c