Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (tmp513) Don't use "proxy" headers

The driver uses math.h and not util_macros.h.

All the same for the kernel.h, replace it with what the driver is using.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231128180654.395692-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Andy Shevchenko and committed by
Guenter Roeck
5d9ad4e0 24921dbd

+6 -2
+6 -2
drivers/hwmon/tmp513.c
··· 19 19 * the Free Software Foundation; version 2 of the License. 20 20 */ 21 21 22 + #include <linux/bitops.h> 23 + #include <linux/bug.h> 24 + #include <linux/device.h> 22 25 #include <linux/err.h> 23 26 #include <linux/hwmon.h> 24 27 #include <linux/i2c.h> 25 28 #include <linux/init.h> 26 - #include <linux/kernel.h> 29 + #include <linux/math.h> 27 30 #include <linux/module.h> 31 + #include <linux/property.h> 28 32 #include <linux/regmap.h> 29 33 #include <linux/slab.h> 30 - #include <linux/util_macros.h> 34 + #include <linux/types.h> 31 35 32 36 // Common register definition 33 37 #define TMP51X_SHUNT_CONFIG 0x00