summaryrefslogtreecommitdiff
path: root/include/linux/uprobes.h
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-10-16 19:34:08 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-12-28 20:19:45 +0300
commit122ef59a2a16e4542705913b905d841704e239e9 (patch)
treec3d8bcfa3337dacc730c13ca9a571d676bfb31bf /include/linux/uprobes.h
parent4da9438d293d30def46b2801fa00e176c59883d2 (diff)
downloadlinux-122ef59a2a16e4542705913b905d841704e239e9.tar.xz
iio: pressure: ms5611: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off at remove. The new devm_regulator_get_enable() replaces this boilerplate code. Some additional refactoring to drop now unnecessary unwinding after this change. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Tomasz Duszynski <tduszyns@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/20221016163409.320197-14-jic23@kernel.org
Diffstat (limited to 'include/linux/uprobes.h')
0 files changed, 0 insertions, 0 deletions