leds: leds-gpio: use of_match_ptr()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 16 Aug 2012 10:35:36 +0000 (18:35 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Tue, 11 Sep 2012 10:32:40 +0000 (18:32 +0800)
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: Bryan Wu <bryan.wu@canonical.com>

No differences found