commit | 60b5c5a435007af5fe9f05483ff2a26aacb5fe78 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Feb 14 11:30:31 2012 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Mar 06 18:46:44 2012 +0100 |
tree | 21c1fdaf34e819010c7e14953234674eb4221966 | |
parent | 113351b52b296afa91d829e880037ef91f0e96f5 [diff] |
mfd: Make pcf50633_write_block() return 0 on success The callers of pcf50633_write_block assume pcf50633_write_block return 0 on success, thus make it return 0 instead of the number of registers written on success. Currently pcf50633_write_block is called in drivers/mfd/pcf50633-irq.c and drivers/rtc/rtc-pcf50633.c. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>