]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: use ioport_map
authorArnd Bergmann <arnd@arndb.de>
Fri, 13 Dec 2024 06:49:50 +0000 (07:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2024 15:44:15 +0000 (16:44 +0100)
commitfec866a00360a19a1f4c8e6bd123a4d1b2d5a8ee
tree9229c3d17b14319b8df57a7c6eb8c2eb5c1e95d2
parentedbb7200ca99b29b173ea4f3f473e4e8db595025
staging: gpib: use ioport_map

The tnt4882 backend has a rather elabolate way of abstracting the
PIO and MMIO based hardware variants, duplicating the functionality
of ioport_map() in a less portable way.

Change it to use ioport_map() with ioread8()/iowrite8() to do
this more easily.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241213064959.1045243-2-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/Kconfig
drivers/staging/gpib/common/gpib_os.c
drivers/staging/gpib/include/gpibP.h
drivers/staging/gpib/tnt4882/tnt4882_gpib.c