hwmon: (gxp_fan_ctrl) Provide fan info via gpio

The fan driver now is independent of the fan plreg GPIO information.
Therefore there will no longer be presence or fail information available
from the driver. Part of the changes includes removing a system power check
as the GPIO driver needs it to report power state to host.

Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230705194544.100370-5-nick.hawkins@hpe.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Nick Hawkins 2023-07-05 14:45:43 -05:00 • committed by Guenter Roeck
commit 6db3ba30de
2 changed files with 3 additions and 105 deletions