ata: sata_rcar: Use of_device_get_match_data() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Oct 2017 12:13:07 +0000 (14:13 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 4 Oct 2017 14:18:29 +0000 (07:18 -0700)
commit03b623fbc5d8d24d45d4e8cd4ba245b0170891f3
treeeac47c30472e46d47b631e0cbfbdaa825399f120
parent8df82c13a3756f831b0d748226ce932515728e04
ata: sata_rcar: Use of_device_get_match_data() helper

Use the of_device_get_match_data() helper instead of open coding.
Note that the sata_rcar driver is used with DT only, so there's always a
valid match.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c