]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cypress_ps2 - remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 16 Sep 2013 15:32:54 +0000 (08:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 Sep 2013 14:51:18 +0000 (07:51 -0700)
commit6ba68f98416db78ad57a10049b54efebf9d5bf47
tree6217066fa789ecbab839e48f922e43a50e5369bd
parenta713876acc1104171e4c00ef4744cfcb85a1d9e1
Input: cypress_ps2 - 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cypress_ps2.c