Re: [PATCH 1/2] mfd: Remove unneeded ret value checking

From: Samuel Ortiz
Date: Fri Oct 22 2010 - 06:30:48 EST


Hi Axel,

On Fri, Oct 22, 2010 at 08:30:26AM +0800, Axel Lin wrote:
> i2c_smbus_write_byte_data() returns zero or negative value,
> therefore no need to check if ret is greater than zero or not.
All 3 (including the mc13xx one) patches applied, many thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/