Re: [PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 03:04:59PM +0800, Axel Lin wrote: > 2013/1/18 Mark Brown > > On Fri, Jan 18, 2013 at 10:29:59AM +0800, Axel Lin wrote: > > > There is only one caller calling _rdev_to_offset(), and the code > > > looks simper if we remove _rdev_to_offset(). Thus remove it. > > This doesn't

Re: [PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 10:29:59AM +0800, Axel Lin wrote: > There is only one caller calling _rdev_to_offset(), and the code > looks simper if we remove _rdev_to_offset(). Thus remove it. This doesn't seem to apply to topic/lp872x? -- To unsubscribe from this list: send the line "unsubscribe linux

RE: [PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Kim, Milo
> There is only one caller calling _rdev_to_offset(), and the code > looks simper if we remove _rdev_to_offset(). Thus remove it. Acked-by: Milo Kim

[PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Axel Lin
There is only one caller calling _rdev_to_offset(), and the code looks simper if we remove _rdev_to_offset(). Thus remove it. Signed-off-by: Axel Lin --- drivers/regulator/lp872x.c | 32 +--- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/drivers/reg