drm/tegra: Renaming DP training vswing pre emph defines
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 8 Aug 2014 10:53:45 +0000 (16:23 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:05:41 +0000 (11:05 +0200)
commiteeb82a5cdb9ab8c5690186b60b2a2bc551fbdf5c
tree863be02bd58f0c964fe2f4183ad590e7cc3df5f3
parent9cecb371cf7365dfaf40cf83e8068f012f27f86b
drm/tegra: Renaming DP training vswing pre emph defines

Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.

Done using following cocci patch for each define:
@@
@@

 # define DP_TRAIN_VOLTAGE_SWING_400     (0 << 0)
+ # define DP_TRAIN_VOLTAGE_SWING_LEVEL_0     (0 << 0)

...

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/tegra/dpaux.c