]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Parameterize based on compatible property
authorThierry Reding <treding@nvidia.com>
Mon, 14 Oct 2013 07:43:05 +0000 (09:43 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:42 +0000 (09:55 +0100)
commit2872102744853d9a53102a9fbf98df249e370cf6
tree8873b06616746a661b25205f492deb6d491950fa
parent4a108520c528403807e4517518e8dd2feff8dd4b
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