Re: [lm-sensors] [PATCH] hwmon/emc1403: remove unnecessary hwmon_device_unregister

From: Jean Delvare
Date: Tue Sep 14 2010 - 03:55:13 EST


On Mon, 13 Sep 2010 20:22:11 -0700, Guenter Roeck wrote:
> On Mon, Sep 13, 2010 at 10:33:51PM -0400, Yong Wang wrote:
> > It is unnecessary to call hwmon_device_unregister in error handling
> > before hwmon_device_register is called.
> >
> Not only unnecessary but wrong. Good catch.
>
> > Signed-off-by: Yong Wang <yong.y.wang@xxxxxxxxx>
>
> Reviewed-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>

Applied, thanks.

--
Jean Delvare
--
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/