]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit2344cd0c2e9ea8f3037be11fb997ddbeda0237ca
treee88fb8b86375a8ba56e59bec73d2d85fba958ef3
parent132af03233b493101a53010383b5abb5b9ff1e51
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