leds: tca6507: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:09:49 +0000 (03:09 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:50 +0000 (11:04 -0700)
commitfbd9df28faeda17b1a9d3e9ab976e969be98d379
tree87f7cd0bec9743a75dcd51c55f13675378920404
parentd67eb8e66c53dd2d26d294b49969f0c3101a5368
leds: tca6507: Use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-tca6507.c