mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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>
This commit is contained in:
parent
bc11794cfe
commit
536d2eb2bf
|
|
@ -43,7 +43,7 @@ struct hdmi {
|
|||
bool power_on;
|
||||
bool hpd_enabled;
|
||||
struct mutex state_mutex; /* protects two booleans */
|
||||
unsigned long int pixclock;
|
||||
unsigned long pixclock;
|
||||
|
||||
void __iomem *mmio;
|
||||
void __iomem *qfprom_mmio;
|
||||
|
|
@ -132,7 +132,7 @@ enum hdmi_phy_type {
|
|||
|
||||
struct hdmi_phy_cfg {
|
||||
enum hdmi_phy_type type;
|
||||
void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
|
||||
void (*powerup)(struct hdmi_phy *phy, unsigned long pixclock);
|
||||
void (*powerdown)(struct hdmi_phy *phy);
|
||||
const char * const *reg_names;
|
||||
int num_regs;
|
||||
|
|
@ -167,7 +167,7 @@ static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg)
|
|||
|
||||
int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
|
||||
void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
|
||||
void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
|
||||
void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long pixclock);
|
||||
void msm_hdmi_phy_powerdown(struct hdmi_phy *phy);
|
||||
void __init msm_hdmi_phy_driver_register(void);
|
||||
void __exit msm_hdmi_phy_driver_unregister(void);
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy)
|
|||
pm_runtime_put_sync(dev);
|
||||
}
|
||||
|
||||
void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock)
|
||||
void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long pixclock)
|
||||
{
|
||||
if (!phy || !phy->cfg->powerup)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include "hdmi.h"
|
||||
|
||||
static void hdmi_phy_8960_powerup(struct hdmi_phy *phy,
|
||||
unsigned long int pixclock)
|
||||
unsigned long pixclock)
|
||||
{
|
||||
DBG("pixclock: %lu", pixclock);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "hdmi.h"
|
||||
|
||||
static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy,
|
||||
unsigned long int pixclock)
|
||||
unsigned long pixclock)
|
||||
{
|
||||
/* De-serializer delay D/C for non-lbk mode: */
|
||||
hdmi_phy_write(phy, REG_HDMI_8x60_PHY_REG0,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#include "hdmi.h"
|
||||
|
||||
static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy,
|
||||
unsigned long int pixclock)
|
||||
unsigned long pixclock)
|
||||
{
|
||||
hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG0, 0x1b);
|
||||
hdmi_phy_write(phy, REG_HDMI_8x74_ANA_CFG1, 0xf2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user