Skip to content

Commit 5d9ad4e

Browse files
andy-shevgroeck
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 24921db commit 5d9ad4e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/hwmon/tmp513.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,19 @@
1919
* the Free Software Foundation; version 2 of the License.
2020
*/
2121

22+
#include <linux/bitops.h>
23+
#include <linux/bug.h>
24+
#include <linux/device.h>
2225
#include <linux/err.h>
2326
#include <linux/hwmon.h>
2427
#include <linux/i2c.h>
2528
#include <linux/init.h>
26-
#include <linux/kernel.h>
29+
#include <linux/math.h>
2730
#include <linux/module.h>
31+
#include <linux/property.h>
2832
#include <linux/regmap.h>
2933
#include <linux/slab.h>
30-
#include <linux/util_macros.h>
34+
#include <linux/types.h>
3135

3236
// Common register definition
3337
#define TMP51X_SHUNT_CONFIG 0x00

0 commit comments

Comments
 (0)