]> 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)
commita1b6b214436175cfde354572c58ce010bb64754a
tree33d0b69e34d707b1a32a3d12bea67f1b95433076
parent32bfb7af40615d44b1f1e328d6d01d7bd1894b35
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