]> 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)
commitea8424fa94d027f39d6ae6a5ee95a615a1ec5d6e
tree8873b06616746a661b25205f492deb6d491950fa
parentcf063ea2ee773fd0985f0bac18148f19524da52a
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