diff mbox series

hwmon: (ntc_thermistor): Drop OF dependency

Message ID 20211215142933.1409324-1-linus.walleij@linaro.org (mailing list archive)
State Accepted
Headers show
Series hwmon: (ntc_thermistor): Drop OF dependency | expand

Commit Message

Linus Walleij Dec. 15, 2021, 2:29 p.m. UTC
The driver has been augmented to just use device properties
so the OF dependency can be dropped.

Cc: Peter Rosin <peda@axentia.se>
Cc: Chris Lesiak <chris.lesiak@licor.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/hwmon/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Guenter Roeck Dec. 17, 2021, 3:42 p.m. UTC | #1
On Wed, Dec 15, 2021 at 03:29:33PM +0100, Linus Walleij wrote:
> The driver has been augmented to just use device properties
> so the OF dependency can be dropped.
> 
> Cc: Peter Rosin <peda@axentia.se>
> Cc: Chris Lesiak <chris.lesiak@licor.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index e491e8f354bb..f4938f123815 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -1415,7 +1415,6 @@ config SENSORS_PC87427
>  
>  config SENSORS_NTC_THERMISTOR
>  	tristate "NTC thermistor support"
> -	depends on OF
>  	depends on IIO
>  	depends on THERMAL || !THERMAL_OF
>  	help
diff mbox series

Patch

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index e491e8f354bb..f4938f123815 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1415,7 +1415,6 @@  config SENSORS_PC87427
 
 config SENSORS_NTC_THERMISTOR
 	tristate "NTC thermistor support"
-	depends on OF
 	depends on IIO
 	depends on THERMAL || !THERMAL_OF
 	help