]> 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)
commit5390c90f8c985330af9481a09eafbbc7d981e09c
tree511a82c07295410626fca3b0fcb1b6fbcc197e90
parente4468c25b025b13fbf96cecbe153545b8e5a62e9
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