Re: [PATCH 1/1] sbs-battery: Use of_match_ptr() macro

2013-03-31 Thread Anton Vorontsov
On Mon, Apr 01, 2013 at 09:02:28AM +0530, Sachin Kamat wrote: [...] > > - .of_match_table = sbs_dt_ids, > > + .of_match_table = of_match_ptr(sbs_dt_ids), > > }, > > }; > > module_i2c_driver(sbs_battery_driver); > > -- > > 1.7.4.1 > > ping... Applied, thanks!

[PATCH 1/1] sbs-battery: Use of_match_ptr() macro

2013-03-14 Thread Sachin Kamat
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat --- drivers/power/sbs-battery.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c index 3960f0b..3922f