diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2022-03-14 10:09:43 +0100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2022-03-18 18:12:03 +0800 |
commit | 9acae5480001f2a5936445668fb7fff82867396d (patch) | |
tree | 6d618b2cae4f31c3f5267f8bdeb503e3954c4d37 /drivers | |
parent | 5f4cc274737de24d122fd899dbdbbd8cd3a8d742 (diff) | |
download | u-boot-9acae5480001f2a5936445668fb7fff82867396d.zip u-boot-9acae5480001f2a5936445668fb7fff82867396d.tar.gz u-boot-9acae5480001f2a5936445668fb7fff82867396d.tar.bz2 |
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')
-rw-r--r-- | drivers/adc/rockchip-saradc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c index e464d33..e0cbab6 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; |