diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2022-05-10 13:30:59 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-11 14:35:26 +0100 |
commit | 73b8390cc27e096ab157be261ccc4eaaa6db87af (patch) | |
tree | f2d4a437bafdf124ab5de34f9ccefad7aa44aa29 /kernel/trace | |
parent | 48d1ae774099640a4ee8e96a02b7721b479a7e6f (diff) | |
download | linux-stable-73b8390cc27e096ab157be261ccc4eaaa6db87af.tar.gz linux-stable-73b8390cc27e096ab157be261ccc4eaaa6db87af.tar.bz2 linux-stable-73b8390cc27e096ab157be261ccc4eaaa6db87af.zip |
iio: adc: stx104: Utilize iomap interface
This driver doesn't need to access I/O ports directly via inb()/outb()
and friends. This patch abstracts such access by calling ioport_map()
to enable the use of more typical ioread8()/iowrite8() I/O memory
accessor calls.
Suggested-by: David Laight <David.Laight@ACULAB.COM>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/64673797df382c52fc32fce24348b25a0b05e73a.1652201921.git.william.gray@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions