drm/tegra: hdmi: Parameterize based on compatible property
commit59af0595f4827e006f7f7804cc8656599a7772fe
authorThierry Reding <treding@nvidia.com>
Mon, 14 Oct 2013 07:43:05 +0000 (14 09:43 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:42 +0000 (31 09:55 +0100)
tree8873b06616746a661b25205f492deb6d491950fa
parentf27db9615ad6c0bad6047d0592cfc627b9997f8a
drm/tegra: hdmi: Parameterize based on compatible property

Use a structure to parameterize the code to handle differences between
the HDMI hardware on various SoC generations. This removes the need to
clutter the code with checks for individual compatible values.

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