All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon
@ 2022-02-04  1:19 Giulio Benetti
  2022-03-14  8:04 ` Kever Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Giulio Benetti @ 2022-02-04  1:19 UTC (permalink / raw)
  To: u-boot; +Cc: Giulio Benetti

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon
  2022-02-04  1:19 [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon Giulio Benetti
@ 2022-03-14  8:04 ` Kever Yang
  2022-03-14  9:09   ` [PATCH v2] rockchip: saradc: " Giulio Benetti
  2022-03-14  9:12   ` [PATCH] drivers/adc/rockchip-saradc: " Giulio Benetti
  0 siblings, 2 replies; 5+ messages in thread
From: Kever Yang @ 2022-03-14  8:04 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: U-Boot-Denx

Hi Giulio,

    Thanks for your patch, it's a good catching.
    Could you please update the subject with "rockchip: adc: ", and
add a simple description in the commit message? Empy commit message is
not allowed according to U-Boot patch commit rules :(

Thanks,
- Kever

Giulio Benetti <giulio.benetti@benettiengineering.com> 于2022年2月4日周五 09:19写道:
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
>  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;
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] rockchip: saradc: remove double semi-colon
  2022-03-14  8:04 ` Kever Yang
@ 2022-03-14  9:09   ` Giulio Benetti
  2022-03-14  9:33     ` Kever Yang
  2022-03-14  9:12   ` [PATCH] drivers/adc/rockchip-saradc: " Giulio Benetti
  1 sibling, 1 reply; 5+ messages in thread
From: Giulio Benetti @ 2022-03-14  9:09 UTC (permalink / raw)
  To: Kever Yang; +Cc: U-Boot-Denx, Giulio Benetti

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(-)

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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon
  2022-03-14  8:04 ` Kever Yang
  2022-03-14  9:09   ` [PATCH v2] rockchip: saradc: " Giulio Benetti
@ 2022-03-14  9:12   ` Giulio Benetti
  1 sibling, 0 replies; 5+ messages in thread
From: Giulio Benetti @ 2022-03-14  9:12 UTC (permalink / raw)
  To: Kever Yang; +Cc: U-Boot-Denx

On 14/03/22 09:04, Kever Yang wrote:
> Hi Giulio,
> 
>      Thanks for your patch, it's a good catching.
>      Could you please update the subject with "rockchip: adc: ", and
> add a simple description in the commit message? Empy commit message is
> not allowed according to U-Boot patch commit rules :(

Oh, I've forgotten about this in u-boot. Just sent V2:
https://patchwork.ozlabs.org/project/uboot/patch/20220314090943.821630-1-giulio.benetti@benettiengineering.com/

and tagged V1 as superseded in patchwork.

Best regards
-- 
Giulio Benetti
Benetti Engineering sas

> Thanks,
> - Kever
> 
> Giulio Benetti <giulio.benetti@benettiengineering.com> 于2022年2月4日周五 09:19写道:
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
>>   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;
>> --
>> 2.25.1
>>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] rockchip: saradc: remove double semi-colon
  2022-03-14  9:09   ` [PATCH v2] rockchip: saradc: " Giulio Benetti
@ 2022-03-14  9:33     ` Kever Yang
  0 siblings, 0 replies; 5+ messages in thread
From: Kever Yang @ 2022-03-14  9:33 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: U-Boot-Denx


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;

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-14  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04  1:19 [PATCH] drivers/adc/rockchip-saradc: remove double semi-colon Giulio Benetti
2022-03-14  8:04 ` Kever Yang
2022-03-14  9:09   ` [PATCH v2] rockchip: saradc: " Giulio Benetti
2022-03-14  9:33     ` Kever Yang
2022-03-14  9:12   ` [PATCH] drivers/adc/rockchip-saradc: " Giulio Benetti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.