]> 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)
commit80bf068d2cb6e980c241c0329583ffad7bcc905e
tree6217066fa789ecbab839e48f922e43a50e5369bd
parent318896b37b2bea723a5fcf25e6800ed0dacdf7af
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