regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Aug 2010 00:09:14 +0000 (08:09 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 11 Aug 2010 10:38:02 +0000 (11:38 +0100)
commit27ef7f00c96e45192d5dcc7e4589376f3a2fded3
tree423e03c5e672c36bb9feca2c8fa7b89c7bbd3c94
parent1b69d8e3fde65ab2b7c5e1d4adee59e8a67b0b4f
regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()

We already check count value before calling i2c_smbus_read_byte_data(),
no need to check it again.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/lp3971.c