[PATCH] drivers/adc/rockchip-saradc: remove double semi-colon

Kever Yang kever.yang at rock-chips.com
Mon Mar 14 09:04:55 CET 2022


Hi Giulio,

    Thanks for your patch, it's a good catching.
    Could you please update the subject with "rockchip: adc: ", and
add a simple description in the commit message? Empy commit message is
not allowed according to U-Boot patch commit rules :(

Thanks,
- Kever

Giulio Benetti <giulio.benetti at benettiengineering.com> 于2022年2月4日周五 09:19写道:
>
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> ---
>  drivers/adc/rockchip-saradc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c
> index e464d33f22..e0cbab6aa0 100644
> --- a/drivers/adc/rockchip-saradc.c
> +++ b/drivers/adc/rockchip-saradc.c
> @@ -131,7 +131,7 @@ int rockchip_saradc_of_to_plat(struct udevice *dev)
>         }
>
>         priv->data = data;
> -       uc_pdata->data_mask = (1 << priv->data->num_bits) - 1;;
> +       uc_pdata->data_mask = (1 << priv->data->num_bits) - 1;
>         uc_pdata->data_format = ADC_DATA_FORMAT_BIN;
>         uc_pdata->data_timeout_us = SARADC_TIMEOUT / 5;
>         uc_pdata->channel_mask = (1 << priv->data->num_channels) - 1;
> --
> 2.25.1
>


More information about the U-Boot mailing list