Re: [PATCH] usb: dwc2: remove deprecated comment in definition of struct dwc2_core_params

2017-01-31 Thread John Youn
On 1/31/2017 10:55 AM, John Youn wrote:
> On 1/28/2017 1:42 PM, Heiner Kallweit wrote:
>> Since commit 0a7d0d7fa820 "usb: dwc2: Remove dwc2_set_all_params function"
>> this comment isn't applicable any longer.
>>
>> Signed-off-by: Heiner Kallweit 
>> ---
>>  drivers/usb/dwc2/core.h | 4 
>>  1 file changed, 4 deletions(-)
>>
>> diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
>> index 570a8004..a708e4fa 100644
>> --- a/drivers/usb/dwc2/core.h
>> +++ b/drivers/usb/dwc2/core.h
>> @@ -461,10 +461,6 @@ enum dwc2_ep0_state {
>>   * default described above.
>>   */
>>  struct dwc2_core_params {
>> -/*
>> - * Don't add any non-int members here, this will break
>> - * dwc2_set_all_params!
>> - */
>>  int otg_cap;
>>  #define DWC2_CAP_PARAM_HNP_SRP_CAPABLE  0
>>  #define DWC2_CAP_PARAM_SRP_ONLY_CAPABLE 1
>>
>
> Acked-by: John Youn 
>
> John
>

Actually this is already removed and queued for 4.11.

Please disregard.

Thanks,
John

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] usb: dwc2: remove deprecated comment in definition of struct dwc2_core_params

2017-01-31 Thread John Youn
On 1/28/2017 1:42 PM, Heiner Kallweit wrote:
> Since commit 0a7d0d7fa820 "usb: dwc2: Remove dwc2_set_all_params function"
> this comment isn't applicable any longer.
>
> Signed-off-by: Heiner Kallweit 
> ---
>  drivers/usb/dwc2/core.h | 4 
>  1 file changed, 4 deletions(-)
>
> diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
> index 570a8004..a708e4fa 100644
> --- a/drivers/usb/dwc2/core.h
> +++ b/drivers/usb/dwc2/core.h
> @@ -461,10 +461,6 @@ enum dwc2_ep0_state {
>   * default described above.
>   */
>  struct dwc2_core_params {
> - /*
> -  * Don't add any non-int members here, this will break
> -  * dwc2_set_all_params!
> -  */
>   int otg_cap;
>  #define DWC2_CAP_PARAM_HNP_SRP_CAPABLE   0
>  #define DWC2_CAP_PARAM_SRP_ONLY_CAPABLE  1
>

Acked-by: John Youn 

John

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] usb: dwc2: remove deprecated comment in definition of struct dwc2_core_params

2017-01-28 Thread Heiner Kallweit
Since commit 0a7d0d7fa820 "usb: dwc2: Remove dwc2_set_all_params function"
this comment isn't applicable any longer.

Signed-off-by: Heiner Kallweit 
---
 drivers/usb/dwc2/core.h | 4 
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 570a8004..a708e4fa 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -461,10 +461,6 @@ enum dwc2_ep0_state {
  * default described above.
  */
 struct dwc2_core_params {
-   /*
-* Don't add any non-int members here, this will break
-* dwc2_set_all_params!
-*/
int otg_cap;
 #define DWC2_CAP_PARAM_HNP_SRP_CAPABLE 0
 #define DWC2_CAP_PARAM_SRP_ONLY_CAPABLE1
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html