leds: leds-gpio: 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: Bryan Wu <bryan.wu@canonical.com>
This commit is contained in:
Tobias Klauser 2012-08-16 18:35:36 +08:00 • committed by Bryan Wu
commit 6ebcebddff