Message ID | 20220314090943.821630-1-giulio.benetti@benettiengineering.com |
---|---|
State | Accepted |
Commit | 9acae5480001f2a5936445668fb7fff82867396d |
Delegated to: | Kever Yang |
Headers | show |
Series | [v2] rockchip: saradc: remove double semi-colon | expand |
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@benettiengineering.com> Reviewed-by: Kever Yang <kever.yang@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;
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;
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> --- V1->V2: * Improved commit log as suggested by Kever Yang --- drivers/adc/rockchip-saradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)