memory: tegra: Use of_device_get_match_data()
authorDmitry Osipenko <digetx@gmail.com>
Wed, 12 Dec 2018 20:38:54 +0000 (23:38 +0300)
committerJoerg Roedel <jroedel@suse.de>
Wed, 16 Jan 2019 12:54:12 +0000 (13:54 +0100)
commit59cd046f7f94543540d82216dbbfd8146db43b70
tree178555c4b819efe46fd1e6d1539d31826a5d0d81
parentb3bb6b858f2a60fe3ac0c3833084386f7dd420e4
memory: tegra: Use of_device_get_match_data()

There is no need to match device with the DT node since it was already
matched, use of_device_get_match_data() helper to get the match-data.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/memory/tegra/mc.c