mirror of https://gitee.com/openkylin/linux.git
drm/i915: Fix whitespace issues
Fix the poorly indented port parameters to the aux ctl and data
reg functions. This was fallout from the s/i915_mmio_reg_t/i915_reg_t/
that happened during the review of commit f0f59a00a1
("drm/i915:
Type safe register read/write")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476208368-5710-5-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jim Bride <jim.bride@linux.intel.com>
This commit is contained in:
parent
9454fa871e
commit
c8a89b08a4
|
@ -1148,7 +1148,7 @@ static enum port intel_aux_port(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t g4x_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port)
|
||||
enum port port)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_B:
|
||||
|
@ -1162,7 +1162,7 @@ static i915_reg_t g4x_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t g4x_aux_data_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port, int index)
|
||||
enum port port, int index)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_B:
|
||||
|
@ -1176,7 +1176,7 @@ static i915_reg_t g4x_aux_data_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t ilk_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port)
|
||||
enum port port)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_A:
|
||||
|
@ -1192,7 +1192,7 @@ static i915_reg_t ilk_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t ilk_aux_data_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port, int index)
|
||||
enum port port, int index)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_A:
|
||||
|
@ -1208,7 +1208,7 @@ static i915_reg_t ilk_aux_data_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t skl_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port)
|
||||
enum port port)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_A:
|
||||
|
@ -1223,7 +1223,7 @@ static i915_reg_t skl_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t skl_aux_data_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port, int index)
|
||||
enum port port, int index)
|
||||
{
|
||||
switch (port) {
|
||||
case PORT_A:
|
||||
|
@ -1238,7 +1238,7 @@ static i915_reg_t skl_aux_data_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t intel_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port)
|
||||
enum port port)
|
||||
{
|
||||
if (INTEL_INFO(dev_priv)->gen >= 9)
|
||||
return skl_aux_ctl_reg(dev_priv, port);
|
||||
|
@ -1249,7 +1249,7 @@ static i915_reg_t intel_aux_ctl_reg(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
|
||||
static i915_reg_t intel_aux_data_reg(struct drm_i915_private *dev_priv,
|
||||
enum port port, int index)
|
||||
enum port port, int index)
|
||||
{
|
||||
if (INTEL_INFO(dev_priv)->gen >= 9)
|
||||
return skl_aux_data_reg(dev_priv, port, index);
|
||||
|
|
Loading…
Reference in New Issue