]> 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)
commit2ff2fc3a106259564772f5e55df6f34616b039c1
treef18fe91c7e01ae5e60d7759b2155e6b3d4454d4f
parent8096ed428a4e049f0aade975c44ef921a4b7574e
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