]> 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 22:46:38 +0000 (14:46 -0800)
commitc5f44a1cc059232ec95cbfd93b0519c9078a47e7
tree069f8fed4e23ddb4f9d594409a1c347658d13bab
parentcb079f0ee00a8e09b8fa1d0b5199ff59f174cce7
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