Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/hdmi: Drop redundant 'int' for longs

'long' type is already an integer, so 'int' is redundant.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/711175/
Link: https://lore.kernel.org/r/20260311-drm-msm-hdmi-cleanup-v1-5-c5535245f6de@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Krzysztof Kozlowski and committed by
Dmitry Baryshkov
536d2eb2 bc11794c

+7 -7
+3 -3
drivers/gpu/drm/msm/hdmi/hdmi.h
··· 43 43 bool power_on; 44 44 bool hpd_enabled; 45 45 struct mutex state_mutex; /* protects two booleans */ 46 - unsigned long int pixclock; 46 + unsigned long pixclock; 47 47 48 48 void __iomem *mmio; 49 49 void __iomem *qfprom_mmio; ··· 132 132 133 133 struct hdmi_phy_cfg { 134 134 enum hdmi_phy_type type; 135 - void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock); 135 + void (*powerup)(struct hdmi_phy *phy, unsigned long pixclock); 136 136 void (*powerdown)(struct hdmi_phy *phy); 137 137 const char * const *reg_names; 138 138 int num_regs; ··· 167 167 168 168 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy); 169 169 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy); 170 - void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock); 170 + void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long pixclock); 171 171 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy); 172 172 void __init msm_hdmi_phy_driver_register(void); 173 173 void __exit msm_hdmi_phy_driver_unregister(void);
+1 -1
drivers/gpu/drm/msm/hdmi/hdmi_phy.c
··· 94 94 pm_runtime_put_sync(dev); 95 95 } 96 96 97 - void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) 97 + void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long pixclock) 98 98 { 99 99 if (!phy || !phy->cfg->powerup) 100 100 return;
+1 -1
drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c
··· 7 7 #include "hdmi.h" 8 8 9 9 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, 10 - unsigned long int pixclock) 10 + unsigned long pixclock) 11 11 { 12 12 DBG("pixclock: %lu", pixclock); 13 13
+1 -1
drivers/gpu/drm/msm/hdmi/hdmi_phy_8x60.c
··· 9 9 #include "hdmi.h" 10 10 11 11 static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy, 12 - unsigned long int pixclock) 12 + unsigned long pixclock) 13 13 { 14 14 /* De-serializer delay D/C for non-lbk mode: */ 15 15 hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG0,
+1 -1
drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c
··· 7 7 #include "hdmi.h" 8 8 9 9 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, 10 - unsigned long int pixclock) 10 + unsigned long pixclock) 11 11 { 12 12 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG0, 0x1b); 13 13 hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG1, 0xf2);