diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-13 16:44:27 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-11-09 12:22:58 +0000 |
commit | 08cf48c7fa0b2fee2ad547e42580a9a1904061f6 (patch) | |
tree | b7a3668de3c76236b96256983515b9680dab09a7 /fs/xfs/xfs_sysfs.h | |
parent | 18d031f46e9c2d9315d8eb383472f9e7b2239cbd (diff) |
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>
Diffstat (limited to 'fs/xfs/xfs_sysfs.h')
0 files changed, 0 insertions, 0 deletions