HID: lenovo-tpkbd: Remove unnecessary casts of void pointers
authorAxel Lin <axel.lin@gmail.com>
Thu, 13 Sep 2012 06:12:08 +0000 (14:12 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Sep 2012 11:09:02 +0000 (13:09 +0200)
commit832fbeaef446a7024c5e0f19b7122100a7b1003d
tree352a2d3b0247a9cddb30688626c5c4cc96382384
parent372d297b8c8968d7a05e4a63911bea8ec335e031
HID: lenovo-tpkbd: Remove unnecessary casts of void pointers

container_of() never returns NULL, thus also remove the NULL checking for it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo-tpkbd.c