]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit916041e11e72d2723fa2300a66bb578e92c0f374
tree511a82c07295410626fca3b0fcb1b6fbcc197e90
parentc20efc33adcd2e56b1a5a7fc13e39f187031af53
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