summaryrefslogtreecommitdiff
path: root/drivers/adc
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2022-03-14 10:09:43 +0100
committerKever Yang <kever.yang@rock-chips.com>2022-03-18 18:12:03 +0800
commit9acae5480001f2a5936445668fb7fff82867396d (patch)
tree6d618b2cae4f31c3f5267f8bdeb503e3954c4d37 /drivers/adc
parent5f4cc274737de24d122fd899dbdbbd8cd3a8d742 (diff)
downloadu-boot-9acae5480001f2a5936445668fb7fff82867396d.tar.gz
u-boot-9acae5480001f2a5936445668fb7fff82867396d.tar.bz2
u-boot-9acae5480001f2a5936445668fb7fff82867396d.zip
rockchip: saradc: remove double semi-colon
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>
Diffstat (limited to 'drivers/adc')
-rw-r--r--drivers/adc/rockchip-saradc.c2
1 files changed, 1 insertions, 1 deletions
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;