[PATCH] drm/bridge: dw-hdmi-cec: fix inconsistent indenting warning

neil.armstrong at linaro.org neil.armstrong at linaro.org
Thu Mar 6 14:01:31 UTC 2025


On 05/03/2025 11:35, Charles Han wrote:
> Fix below inconsistent indenting smatch warning.
> smatch warnings:
> drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c:336 dw_hdmi_cec_suspend() warn: inconsistent indenting
> 
> Signed-off-by: Charles Han <hanchunchao at inspur.com>
> ---
>   drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c
> index 9549dabde941..9d5bded54e8b 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c
> @@ -333,9 +333,9 @@ static int dw_hdmi_cec_suspend(struct device *dev)
>   	struct dw_hdmi_cec *cec = dev_get_drvdata(dev);
>   
>   	/* store interrupt status/mask registers */
> -	 cec->regs_polarity = dw_hdmi_read(cec, HDMI_CEC_POLARITY);
> -	 cec->regs_mask = dw_hdmi_read(cec, HDMI_CEC_MASK);
> -	 cec->regs_mute_stat0 = dw_hdmi_read(cec, HDMI_IH_MUTE_CEC_STAT0);
> +	cec->regs_polarity = dw_hdmi_read(cec, HDMI_CEC_POLARITY);
> +	cec->regs_mask = dw_hdmi_read(cec, HDMI_CEC_MASK);
> +	cec->regs_mute_stat0 = dw_hdmi_read(cec, HDMI_IH_MUTE_CEC_STAT0);
>   
>   	return 0;
>   }

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>


More information about the dri-devel mailing list