[PATCH v2] rockchip: saradc: remove double semi-colon
Kever Yang
kever.yang at rock-chips.com
Mon Mar 14 10:33:18 CET 2022
On 2022/3/14 17:09, Giulio Benetti wrote:
> Remove double semi-colon that has been forgotten while adding the
> driver. This is only a style fix since it doesn't change the
> functionality of the driver.
>
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> V1->V2:
> * Improved commit log as suggested by Kever Yang
> ---
> 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;
More information about the U-Boot
mailing list