]> git.karo-electronics.de Git - karo-tx-linux.git/commit
extcon: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:33:32 +0000 (14:33 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:00 +0000 (09:37 +0900)
commitcb8bb3a77252bd431997a61456689c778510447c
tree090e93c487874dfd3e086ee45a38c06f069f0190
parenta75e1c73a46eed0332d036e371f714e76d167c07
extcon: 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: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-class.c