diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-09 17:01:21 +0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-08-11 11:38:02 +0100 |
commit | 1bddc2f5c1727577183761581d5d4d1b00a8bd63 (patch) | |
tree | d0c7817f6ad349ce4f12f638c0e09cbb2dfcb365 /drivers/rtc/rtc-ds1511.c | |
parent | 53a4befa4e3d1490a63dae1ac03a2e7c865b2f53 (diff) | |
download | talos-op-linux-1bddc2f5c1727577183761581d5d4d1b00a8bd63.tar.gz talos-op-linux-1bddc2f5c1727577183761581d5d4d1b00a8bd63.zip |
regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
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>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/rtc/rtc-ds1511.c')
0 files changed, 0 insertions, 0 deletions