hwmon: (sht15) fix bad error code
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 26 Jan 2012 20:59:00 +0000 (15:59 -0500)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 29 Jan 2012 18:35:21 +0000 (10:35 -0800)
commit6edf3c30af01854c416f8654d3d5d2652470afd4
tree744b870d3be8cd6bb97c200385b08748422862cb
parentcba9384b3c53d1a302206f68134a6cbfbae1d686
hwmon: (sht15) fix bad error code

When no platform data was supplied, returned error code was 0.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: stable@vger.kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/sht15.c