]> 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)
commit0347e445499891938c2ba7df7975cdf84cdcfce5
treee359042e349ac631cfcad956a85cc4e7d171bbba
parentfe563422661cbdb0aa066c2fdd616306869c1e6c
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