drm/tegra: dp: Turn link capabilities into booleans
authorThierry Reding <treding@nvidia.com>
Thu, 3 Dec 2015 11:45:45 +0000 (12:45 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:44 +0000 (11:18 +0100)
commit27ba465ce3397c4705f87c1f73e6d67c1b48ef0f
tree1f1931d9e690bf0e7c1c0070483de4253567cb30
parentc728e2d4a6546905f1179a8237860d8d276aaadc
drm/tegra: dp: Turn link capabilities into booleans

Rather than storing capabilities as flags in an integer, use a separate
boolean per capability. This simplifies the code that checks for these
capabilities.

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