power: charger-manager: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Fri, 29 Aug 2014 03:45:27 +0000 (12:45 +0900)
committerSebastian Reichel <sre@kernel.org>
Sat, 6 Sep 2014 19:07:40 +0000 (21:07 +0200)
commit86515b7de86443775cf5e821e52df4c0adf528ab
treede22f134b4e37cc6fba08b08f0ad6e826f0eed0b
parenta8adcc9012d8502e06ba7b3f966bad8f2c58edc3
power: charger-manager: 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>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/charger-manager.c