]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: xiic: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:31:29 +0000 (14:31 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Sep 2013 04:02:33 +0000 (06:02 +0200)
commit8096ed428a4e049f0aade975c44ef921a4b7574e
tree33d0b69e34d707b1a32a3d12bea67f1b95433076
parent19ba40f4a144069aef1a915fbb5e1cdb43869302
i2c: xiic: 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: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c