pata: imx: set controller PIO mode with .set_piomode callback
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 9 Nov 2016 00:56:36 +0000 (02:56 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 9 Nov 2016 16:48:56 +0000 (11:48 -0500)
commit65a443ea54832cdf221c03c285930f0089c03f9a
treee6a4c55fcd675fc76a7fddf78df217283cf2f3bd
parent07b9733fdad991ded44370badc8bad0c64c6660e
pata: imx: set controller PIO mode with .set_piomode callback

Convert .set_mode callback function to more specific .set_piomode,
the driver does not have support of DMA modes, thus a simpler version
of the callback is preferred.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_imx.c