Skip to content
Commit d725666b authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

sensor: convert ADC `depends on` to `select`



When a sensor that depends on an ADC is enabled in devicetree, enable
the ADC subsystem. ADC is roughly equivalent to a bus for these sensors
(the mechanism through which data is transferred), which had the same
conversion applied in #48707.

The same benefits apply here, namely removing the need for the following
pattern in board `.kconfig` files:
```
configdefault ADC
    default y if SENSOR
```

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 83cd4d36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment