]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 16 Oct 2013 18:03:00 +0000 (20:03 +0200)
commit41d2cb92453cb504c92865f6875e132e36b83bba
tree8873b06616746a661b25205f492deb6d491950fa
parent1174f7d186fdf1c75bef53a8f3938b640ad065db
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