[PATCH 02/11] power: pmic: mtk-pwrap: use tabs for alignment

Macpaul Lin (林智斌) Macpaul.Lin at mediatek.com
Wed Mar 18 15:01:22 CET 2026


On Tue, 2026-03-17 at 15:24 +0100, Julien Stephan wrote:
> Fix mt8188_regs definition to use tabs instead of spaces for
> alignment to be consistent with other definitions.
> 
> Signed-off-by: Julien Stephan <jstephan at baylibre.com>
> ---
>  drivers/power/pmic/mtk-pwrap.c | 28 ++++++++++++++--------------
>  1 file changed, 14 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/power/pmic/mtk-pwrap.c b/drivers/power/pmic/mtk-
> pwrap.c
> index 8ff6458a5f2..446b78fb0ee 100644
> --- a/drivers/power/pmic/mtk-pwrap.c
> +++ b/drivers/power/pmic/mtk-pwrap.c
> @@ -249,20 +249,20 @@ enum pwrap_regs {
>  };
>  
>  static int mt8188_regs[] = {
> -	[PWRAP_INIT_DONE2] =            0x0,
> -	[PWRAP_STAUPD_CTRL] =           0x4C,
> -	[PWRAP_TIMER_EN] =              0x3E4,
> -	[PWRAP_INT_EN] =                0x420,
> -	[PWRAP_INT_FLG] =               0x428,
> -	[PWRAP_INT_CLR] =               0x42C,
> -	[PWRAP_INT1_EN] =               0x450,
> -	[PWRAP_INT1_FLG] =              0x458,
> -	[PWRAP_INT1_CLR] =              0x45C,
> -	[PWRAP_WACS2_CMD] =             0x880,
> -	[PWRAP_SWINF_2_WDATA_31_0] =    0x884,
> -	[PWRAP_SWINF_2_RDATA_31_0] =    0x894,
> -	[PWRAP_WACS2_VLDCLR] =          0x8A4,
> -	[PWRAP_WACS2_RDATA] =           0x8A8,
> +	[PWRAP_INIT_DONE2] =		0x0,
> +	[PWRAP_STAUPD_CTRL] =		0x4C,
> +	[PWRAP_TIMER_EN] =		0x3E4,
> +	[PWRAP_INT_EN] =		0x420,
> +	[PWRAP_INT_FLG] =		0x428,
> +	[PWRAP_INT_CLR] =		0x42C,
> +	[PWRAP_INT1_EN] =		0x450,
> +	[PWRAP_INT1_FLG] =		0x458,
> +	[PWRAP_INT1_CLR] =		0x45C,
> +	[PWRAP_WACS2_CMD] =		0x880,
> +	[PWRAP_SWINF_2_WDATA_31_0] =	0x884,
> +	[PWRAP_SWINF_2_RDATA_31_0] =	0x894,
> +	[PWRAP_WACS2_VLDCLR] =		0x8A4,
> +	[PWRAP_WACS2_RDATA] =		0x8A8,
>  };
>  
>  static int mt8189_regs[] = {
> 

Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>

Thanks
Macpaul Lin


More information about the U-Boot mailing list