Skip to content
Commit 58efe761 authored by Arturas Moskvinas's avatar Arturas Moskvinas Committed by Jonathan Cameron
Browse files

iio: adc: mcp320x: Simplify device removal logic



Use devm_* APIs to enable/disable regulator and to register in IIO infrastructure.

Signed-off-by: default avatarArturas Moskvinas <arturas.moskvinas@gmail.com>
Link: https://lore.kernel.org/r/20240219074139.193464-2-arturas.moskvinas@gmail.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3b4ebff2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment