Commit 39397ba8 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Guenter Roeck

hwmon: (lm75) Replace kernel.h with the necessary inclusions

When kernel.h is used in the headers it adds a lot into dependency hell,
especially when there are circular dependencies are involved.

Replace kernel.h inclusion with the list of what is really being used.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4e07ed43274ad912d4efcfc04f673f25e8f89fdc.1654289489.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 739743ec
......@@ -11,7 +11,8 @@
* which contains this code, we don't worry about the wasted space.
*/
#include <linux/kernel.h>
#include <linux/minmax.h>
#include <linux/types.h>
/* straight from the datasheet */
#define LM75_TEMP_MIN (-55000)
......
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