ata: pata_ep93xx: use soc_device_match for UDMA modes
authorNikita Shubin <nikita.shubin@maquefel.me>
Wed, 23 Aug 2023 09:47:28 +0000 (12:47 +0300)
committerDamien Le Moal <dlemoal@kernel.org>
Fri, 25 Aug 2023 13:09:43 +0000 (22:09 +0900)
commitdb15538ba6a4a38b020258cf07174edf16f94b74
treebf3799fdc57ea9501cc39350ec04361b6e6002fe
parent41203f93e2be757c0c8a8dd050938261ce49ab7c
ata: pata_ep93xx: use soc_device_match for UDMA modes

Replace ep93xx_chip_revision() with soc_device_match(), so
ep93xx_chip_revision() can be safetly dropped from exported functions.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/pata_ep93xx.c