]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (applesmc) Relax the severity of device init failure
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 9 Nov 2010 15:15:02 +0000 (15:15 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:35 +0000 (10:55 -0800)
commit926a8bbb09983b913eaf7c6ac900b9c866edd8cf
treee88fb8b86375a8ba56e59bec73d2d85fba958ef3
parent2ca2640bebba579a47d0854ddaf429acaf8b9cdf
hwmon: (applesmc) Relax the severity of device init failure

The device init is used to reset the accelerometer. Failure to reset
is not severe enough to stop loading the module or to resume from
hibernation.  This patch relaxes failure to a warning and drops
output in case of success.

Cc: stable@kernel.org
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/applesmc.c