drm/i915/lspcon: switch to kernel unsigned int types
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
This commit is contained in:
parent
c25004964c
commit
02f361f5fd
@ -116,7 +116,7 @@ static int lspcon_change_mode(struct intel_lspcon *lspcon,
|
|||||||
|
|
||||||
static bool lspcon_wake_native_aux_ch(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,
|
if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV,
|
||||||
&rev) != 1) {
|
&rev) != 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user