diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-31 06:45:22 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-11-11 18:39:45 (GMT) |
commit | aab18da44f243cf59b4dee335ea50b32f529b5b0 (patch) | |
tree | b8fcca4838dbd928e6fb474c32b1a5eb4380025d /drivers/parisc | |
parent | 206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff) | |
download | linux-aab18da44f243cf59b4dee335ea50b32f529b5b0.tar.xz |
hwmon: (ibmpowernv) Quieten when probing finds no device
Because we build kernels with drivers built in for many platforms, it's
normal for the ibmpowernv driver to be loaded on systems that don't have
the appropriate hardware.
Currently the driver spams the log with:
ibmpowernv ibmpowernv.0: Opal node 'sensors' not found
ibmpowernv: Platfrom driver probe failed
But there is no error, this machine is not a powernv and doesn't have
the hardware. So change the sensors message to dev_dbg(), and only print
an error about the probe failing if it's not ENODEV.
Also fix the spelling of "Platfrom" and print the actual error value.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions