hwmon: (occ) Check for device property for setting OCC active during probe
authorEddie James <eajames@linux.ibm.com>
Tue, 9 Aug 2022 20:07:01 +0000 (15:07 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 28 Sep 2022 11:40:57 +0000 (21:10 +0930)
commit89a286fb153643b9b0f6e78160857f86eef16ba5
treed25cf737dd01c2d14350fca8b5a5f2af94386bb8
parent0fead4fc926f000d2daee938f0d4886ac8da11d0
hwmon: (occ) Check for device property for setting OCC active during probe

A previous commit changed the existing behavior of the driver to skip
attempting to communicate with the OCC during probe. Return to the
previous default behavior of automatically communicating with the OCC
and make it optional with a new device-tree property.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220809200701.218059-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/hwmon/occ/common.c
drivers/hwmon/occ/p9_sbe.c