https://github.com/torvalds/linux
Revision c30aa39c233ca1df8397eb9e9c8b40a397ce72bb authored by Axel Lin on 01 May 2011, 15:34:55 UTC, committed by Guenter Roeck on 01 May 2011, 16:06:35 UTC
The driver did not return an error if the call to hwmon_device_register failed.
Fix by returning the error reported from hwmon_device_register.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
1 parent 1be6a1f
History
Tip revision: c30aa39c233ca1df8397eb9e9c8b40a397ce72bb authored by Axel Lin on 01 May 2011, 15:34:55 UTC
hwmon: (twl4030-madc-hwmon) Return proper error if hwmon_device_register fails
Tip revision: c30aa39
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 188.3 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top