[lm-sensors] [PATCH] hwmon/emc1403: remove unnecessary hwmon_device_unregister
khali at linux-fr.org
Tue Sep 14 09:54:52 CEST 2010
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 at intel.com>
> Reviewed-by: Guenter Roeck <guenter.roeck at ericsson.com>
More information about the lm-sensors