]> git.baikalelectronics.ru Git - kernel.git/commit
counter: 104-quad-8: Utilize iomap interface
authorWilliam Breathitt Gray <william.gray@linaro.org>
Thu, 14 Jul 2022 16:07:13 +0000 (12:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jul 2022 17:17:41 +0000 (19:17 +0200)
commit3251e64f31a07a72a91f9990548490155e8c415c
tree6d96c2a577e75335ac94f5447558bda1a87ae888
parent23c2cf76de74779869d64f131a83896a4fe9e71b
counter: 104-quad-8: 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.

Link: https://lore.kernel.org/r/861c003318dce3d2bef4061711643bb04f5ec14f.1652201921.git.william.gray@linaro.org
Cc: Syed Nayyar Waris <syednwaris@gmail.com>
Suggested-by: David Laight <David.Laight@ACULAB.COM>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/e971b897cacfac4cb2eca478f5533d2875f5cadd.1657813472.git.william.gray@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/counter/104-quad-8.c