diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-25 14:07:44 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-04-28 10:08:33 -0700 |
commit | 73bc2357de6cca4299eea69095a682dd09a699fe (patch) | |
tree | c324b59a41de56bdd597a0ef86ed7f3c986f9a5e /drivers/hwmon/pwm-fan.c | |
parent | 9050b39b2fab51231b6a68d00238e6edea950987 (diff) |
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240325120952.3019767-4-andriy.shevchenko@linux.intel.com
[groeck: Dropped __maybe_unused from mp2975_of_match]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions