Messages in this thread | | | Subject | Re: [PATCH RESEND again] regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write() | From | Liam Girdwood <> | Date | Mon, 09 Aug 2010 10:59:25 +0100 |
| |
On Mon, 2010-08-09 at 17:01 +0800, Axel Lin wrote: > i2c_smbus_write_byte_data() returns zero or negative value, > therefore no need to check if ret is greater than zero or not. > > Signed-off-by: Axel Lin <axel.lin@gmail.com> > Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> > --- > drivers/regulator/lp3971.c | 8 +------- > 1 files changed, 1 insertions(+), 7 deletions(-) >
Applied.
Thanks
Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
| |