summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorAlexandru Tachici <alexandru.tachici@analog.com>2019-11-18 12:58:07 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-11-23 14:25:02 +0000
commita8b26c2ddc83fab7f582405c468df2cbb9b5348a (patch)
tree5965decf989c22d98b96a70932a84c856b799399 /drivers/iio/trigger/stm32-timer-trigger.c
parent3922f930de9d83fab3dcdc432ac046d79583e430 (diff)
downloadlinux-a8b26c2ddc83fab7f582405c468df2cbb9b5348a.tar.gz
linux-a8b26c2ddc83fab7f582405c468df2cbb9b5348a.tar.bz2
linux-a8b26c2ddc83fab7f582405c468df2cbb9b5348a.zip
iio: dac: ad7303: use regulator get optional to check for ext supply
Previously, the code was using the of_read_property_bool() to check if an external regulator was provided. However, this is redundant, as it's more simple/direct to just ask the regulator is provided, via a `devm_regulator_get_optional()` call. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions