]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: saradc: remove double semi-colon
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 14 Mar 2022 09:09:43 +0000 (10:09 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 18 Mar 2022 10:12:03 +0000 (18:12 +0800)
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@benettiengineering.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/adc/rockchip-saradc.c

index e464d33f2267e20d5c10a7452b6a7a2bfe5e49d9..e0cbab6aa067b2c791b347b98d01c1fe99e1c7eb 100644 (file)
@@ -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;