Commit 5d9ad4e0 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Guenter Roeck

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231128180654.395692-2-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 24921dbd
...@@ -19,15 +19,19 @@ ...@@ -19,15 +19,19 @@
* the Free Software Foundation; version 2 of the License. * the Free Software Foundation; version 2 of the License.
*/ */
#include <linux/bitops.h>
#include <linux/bug.h>
#include <linux/device.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/hwmon.h> #include <linux/hwmon.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/kernel.h> #include <linux/math.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/property.h>
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/util_macros.h> #include <linux/types.h>
// Common register definition // Common register definition
#define TMP51X_SHUNT_CONFIG 0x00 #define TMP51X_SHUNT_CONFIG 0x00
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment