hwmon: (smsc47m1) Fail module loading on error
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Dec 2009 20:38:26 +0000 (21:38 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 16 Dec 2009 20:38:26 +0000 (21:38 +0100)
If an error occurs during probing, there's no point in keeping the
module in memory. Better fail the module loading early to make the
problem more visible.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Sean Fidler <fidlersean@gmail.com>

No differences found