drm/i915/lspcon: switch to kernel unsigned int types
authorJani Nikula <jani.nikula@intel.com>
Tue, 12 Jun 2018 09:19:35 +0000 (12:19 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Jun 2018 11:46:22 +0000 (14:46 +0300)
We have fairly mixed uintN_t vs. uN usage throughout the driver, but try
to stick to kernel types at least where it's more prevalent.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1e132575785d9b615208eb60ee5e388df5991172.1528794959.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_lspcon.c

index 8ae8f42f430a1a1e0fdc7e91b2ca3b9a1f0dd92f..5dae16ccd9f1015fe80abc2c41d98937f3aaef89 100644 (file)
@@ -116,7 +116,7 @@ static int lspcon_change_mode(struct intel_lspcon *lspcon,
 
 static bool lspcon_wake_native_aux_ch(struct intel_lspcon *lspcon)
 {
-       uint8_t rev;
+       u8 rev;
 
        if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV,
                              &rev) != 1) {