]> Pileus Git - ~andy/linux/commit
hwmon: (nct6775) Use return value from find_temp_source
authorGuenter Roeck <linux@roeck-us.net>
Wed, 11 Sep 2013 17:32:18 +0000 (10:32 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:25 +0000 (16:16 -0700)
commite8ab508c27be9868411b6578507e93e02bdb8cdb
tree41760abf18d0d41759dc077e5ed7bbb7862cab95
parenta0393713530c49697e49ce0456c039228ab7facb
hwmon: (nct6775) Use return value from find_temp_source

smatch complains that we don't use the return value from find_temp_source().
Valid point, only find_temp_source() doesn't return a valid error code.
Have it return a valid error code and use it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c