hwmon: (ina2xx) Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:29:32 +0000 (14:29 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 10 Sep 2013 13:28:31 +0000 (06:28 -0700)
commit8876dd78d9f0cd317d55dc19e5cd17194af15b52
treee359042e349ac631cfcad956a85cc4e7d171bbba
parent98128de30f4bb2adc29028fdd5839de83bc4bcff
hwmon: (ina2xx) Remove casting the return value which is a void pointer

Casting the return value which is a void pointer is redundant.
The conversion from void pointer to any other pointer type is
guaranteed by the C programming language.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina2xx.c