]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:37 +0000 (15:13 -0800)
commit8c03ddf5932e4390b97441735a13836a2208106f
treeed53fbb11612126c070406e9b29e4f45284ec42b
parenta66cd6c6b2bf948524bf4f037e91c086380f1655
hwmon: (applesmc) Relax the severity of device init failure

commit 2344cd0c2e9ea8f3037be11fb997ddbeda0237ca upstream.

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.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/applesmc.c