Re: [PATCH] mfd: Make pcf50633_write_block() return 0 on success

From: Harald Welte
Date: Tue Feb 14 2012 - 04:13:39 EST


Hi Axel,

On Tue, Feb 14, 2012 at 11:30:31AM +0800, Axel Lin wrote:
> 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.

This change seems to make a lot of sense, thanks for spotting it.

Acked-by: Harald Welte <laforge@xxxxxxxxxxxx>

--
- Harald Welte <laforge@xxxxxxxxxxxx> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/