summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2024-10-17 20:00:25 +0000
committerKever Yang <[email protected]>2024-10-26 10:46:48 +0800
commitbcbfd1bb373e11838f117d193a4590d6af0ba2ae (patch)
tree570cdfdacfb53c220ee015dbfa0c46959561eb30 /include
parentd1c38bb4a80f1d5b4797f892adeb0cf35440d69a (diff)
adc: Allow use of adc with DM_REGULATOR disabled
When DM_REGULATOR=n is used the device_get_supply_regulator() function always return -ENOSYS. Change to treat missing support for regulators as a missing optional vdd/vss-supply regulator to reduce error messages being logged. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions