Dragos Bogdan 2a5b3370a1 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
axi_fan_control_irq_handler(), dependent on the private
axi_fan_control_data structure, might be called before the hwmon
device is registered. That will cause an "Unable to handle kernel
NULL pointer dereference" error.

Fixes: 8412b410fa5e ("hwmon: Support ADI Fan Control IP")
Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20231025132100.649499-1-nuno.sa@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-10-25 11:56:22 -07:00
..
2023-09-01 09:53:54 -07:00
2023-04-27 11:53:57 -07:00
2023-08-21 06:04:30 -07:00
2023-08-21 06:04:30 -07:00
2022-02-27 17:03:19 -08:00
2023-08-21 06:04:30 -07:00
2023-08-25 07:43:10 -07:00