mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
hwmon: (smsc47m1) Fail module loading on error
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>
This commit is contained in:
parent
a0e92d70f3
commit
3ecf44b312
1 changed files with 11 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue