OSDN Git Service

drm/tegra: vic: Use of_device_get_match_data()
authorThierry Reding <treding@nvidia.com>
Mon, 21 Aug 2017 16:03:27 +0000 (18:03 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:54 +0000 (14:19 +0200)
commit829ce7a68f20054b9cda762fbbf662b33ca26756
tree4236b167b7fec298582e824993e9bde90d0588d2
parent5faea3d0f80f4fe481bcf994750b96c7429bebe1
drm/tegra: vic: Use of_device_get_match_data()

Avoid some boilerplate by calling of_device_get_match_data() instead of
open-coding the equivalent in the driver.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c