]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d93b093c6effdb673feae4610ef0ba3926f6335
treee359042e349ac631cfcad956a85cc4e7d171bbba
parente64beb340ebcebd6a14591427a29383b4573b3bb
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