Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment