Input: altera_ps2 - use of_match_ptr()
authorTobias Klauser <tklauser@distanz.ch>
Sat, 17 Mar 2012 06:31:25 +0000 (23:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 17 Mar 2012 06:34:00 +0000 (23:34 -0700)
commit14b5842ebf552d242b0238f70d0730a564065fb0
tree511a82c07295410626fca3b0fcb1b6fbcc197e90
parent4a53383565e340254479ce4d47bc181884ddf6c3
Input: altera_ps2 - 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 <dtor@mail.ru>
drivers/input/serio/altera_ps2.c