hwmon: (max6650) Use i2c_get_match_data()
Use preferred i2c_get_match_data() instead of of_match_device() and i2c_match_id() to get the driver match data. With this, adjust the includes to explicitly include the correct headers. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20231115205703.3730448-1-robh@kernel.orgSigned-off-by: Guenter Roeck <linux@roeck-us.net>
Showing
Please register or sign in to comment