]> git.karo-electronics.de Git - linux-beck.git/commit
sbs-battery: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:19:46 +0000 (15:49 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 03:37:26 +0000 (20:37 -0700)
commit075ed03ce6c2cd148b4606619e775c6e46aa89e1
treecdf6347a0a649f4f52b813df507eda80ec55f65b
parent18bc4e79fdff1baa82d57ef364590fcdcc0a2612
sbs-battery: 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: Anton Vorontsov <anton@enomsg.org>
drivers/power/sbs-battery.c