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)
commit6ebcebddffbf5c074e467c725aafbd21dfd46ed5
treeac522b9ac137f08cedb9761cc3c627c135f4cc77
parentd23a22a74fded23a12434c9463fe66cec2b0afcd
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>
drivers/leds/leds-gpio.c