summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-10-16 19:34:00 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:44:01 +0300
commiteefa008b1677244d73ba47920172be36570c87c1 (patch)
treeba1c6a8ee4d7ad26e89f6aa4f648c50c6f495b10 /include/linux/debugobjects.h
parent1fa4ff1f249983b38394ee79379e028c1c501ae5 (diff)
downloadlinux-eefa008b1677244d73ba47920172be36570c87c1.tar.xz
iio: accel: msa311: Use devm_regulator_get_enable()
This driver only turns the power on at probe and off via a custom devm_add_action_or_reset() callback. The new devm_regulator_get_enable() replaces this boilerplate code. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Dmitry Rokosov <DDRokosov@sberdevices.ru> Reviewed-by: Dmitry Rokosov <ddrokosov@sberdevices.ru> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20221016163409.320197-6-jic23@kernel.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions