mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/4e07ed43274ad912d4efcfc04f673f25e8f89fdc.1654289489.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
committed by
Guenter Roeck
parent
739743ec78
commit
39397ba8a7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user