commit | 6ebcebddffbf5c074e467c725aafbd21dfd46ed5 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Aug 16 18:35:36 2012 +0800 |
committer | Bryan Wu <bryan.wu@canonical.com> | Tue Sep 11 18:32:40 2012 +0800 |
tree | ac522b9ac137f08cedb9761cc3c627c135f4cc77 | |
parent | d23a22a74fded23a12434c9463fe66cec2b0afcd [diff] |
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>