aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-10-22 08:30:26 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:30:37 +0200
commit25d950714781f34e7ae1292f38889cf39983cb38 (patch)
treee89653e3a0d630e8ae171b67f509d451c0e95ea7 /drivers/macintosh
parentmfd: Add free max8998->ono irq in max8998_irq_exit() (diff)
downloadlinux-dev-25d950714781f34e7ae1292f38889cf39983cb38.tar.xz
linux-dev-25d950714781f34e7ae1292f38889cf39983cb38.zip
mfd: Remove unneeded ret value checking for max8998 register updates
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> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions