Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f84aec5a authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: adc: fsl-imx25-gcq: Use devm_* and dev_err_probe() to simplify probe


Custom callbacks are need for regulators (so there is a handle to read
the voltage from) and the clk because it is retrieved from the parent
rather than directly from firmware description.

Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240218172731.1023367-3-jic23@kernel.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 39d5790d
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