Re: [lm-sensors] [PATCH] hwmon: (ad7414) Return proper error codefor ad7414_probe()

From: Guenter Roeck
Date: Mon Nov 08 2010 - 21:45:24 EST


On Mon, Nov 08, 2010 at 08:40:34PM -0500, Axel Lin wrote:
> Return proper error if i2c_check_functionality reports
> the adapter does not support the capability we need.
>
> Also remove unneeded initialization for err variable.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Applied.

Thanks,
Guenter
--
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/