diff options
| author | Andy Shevchenko <[email protected]> | 2024-03-25 12:07:44 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-04-28 17:08:33 +0000 |
| commit | 73bc2357de6cca4299eea69095a682dd09a699fe (patch) | |
| tree | c324b59a41de56bdd597a0ef86ed7f3c986f9a5e /drivers/hwmon/pwm-fan.c | |
| parent | hwmon: (pmbus/mp2975) Constify local pointers to pmbus_driver_info (diff) | |
| download | kernel-73bc2357de6cca4299eea69095a682dd09a699fe.tar.gz kernel-73bc2357de6cca4299eea69095a682dd09a699fe.zip | |
hwmon: (pmbus/mp2975) Use i2c_get_match_data()
Use preferred i2c_get_match_data() instead of of_device_get_match_data()
to get the driver match data. With this, adjust the includes to explicitly
include the correct headers.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Dropped __maybe_unused from mp2975_of_match]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
