]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: bfin-twi: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:32:25 +0000 (14:32 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Sep 2013 04:02:33 +0000 (06:02 +0200)
commit9ec8695c361ffc43771a2ad1e87c15de570ab508
treef18fe91c7e01ae5e60d7759b2155e6b3d4454d4f
parenta1b6b214436175cfde354572c58ce010bb64754a
i2c: bfin-twi: 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-bfin-twi.c