Home
last modified time | relevance | path

Searched hist:"08 cf48c7fa0b2fee2ad547e42580a9a1904061f6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dnpcm_adc.cdiff 08cf48c7fa0b2fee2ad547e42580a9a1904061f6 Sun Oct 13 10:44:27 CDT 2019 Jonathan Cameron <Jonathan.Cameron@huawei.com> iio: adc: npcm: use devm_platform_ioremap_resource

Reduces local boilerplate code.
Suggested by coccinelle via coccicheck.

CHECK drivers/iio/adc/npcm_adc.c
drivers/iio/adc/npcm_adc.c:200:1-11: WARNING: Use devm_platform_ioremap_resource for info -> regs

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: Tomer Maimon <tmaimon77@gmail.com>