Input: samsung-keypad - use of_match_ptr()
authorTobias Klauser <tklauser@distanz.ch>
Wed, 22 Aug 2012 05:04:32 +0000 (22:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Aug 2012 05:39:56 +0000 (22:39 -0700)
commitf4d4661bee0f54410ac65571b50df5d9fe091d03
tree2fe4b1d37a3c2f403f96515c57ea02e5f66947d1
parent54ce165ebd9d9494b64149e0d1ab4ddbf5ea908b
Input: samsung-keypad - use of_match_ptr()

Instead of having to define the match table to NULL if CONFIG_OF isn't
set, use the of_match_ptr() macro which will do this for us.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/samsung-keypad.c