]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm75) Replace kernel.h with the necessary inclusions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 3 Jun 2022 20:51:46 +0000 (22:51 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:19 +0000 (08:38 -0700)
commitaa7965513b3a1f3f0d780ec836058598ca5d2da4
treebfbbc50cad62cb5f5dc1bdf948f86f0ec1f08623
parent6f6b2e4f8d9e66d596758175b55ee1bfd258176d
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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/4e07ed43274ad912d4efcfc04f673f25e8f89fdc.1654289489.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.h