2019-10-07 00:39:50

by Gabriela Bittencourt

[permalink] [raw]
Subject: [PATCH] staging: rtl8712: align arguments with open parenthesis in file rtl8712_led.c

Cleans up checks of "Alignment should match open parenthesis"

Signed-off-by: Gabriela Bittencourt <[email protected]>
---
drivers/staging/rtl8712/rtl8712_led.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c
index db99129d3169..5901026949f2 100644
--- a/drivers/staging/rtl8712/rtl8712_led.c
+++ b/drivers/staging/rtl8712/rtl8712_led.c
@@ -75,7 +75,7 @@ static void BlinkWorkItemCallback(struct work_struct *work);
* Initialize an LED_871x object.
*/
static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed,
- enum LED_PIN_871x LedPin)
+ enum LED_PIN_871x LedPin)
{
pLed->padapter = padapter;
pLed->LedPin = LedPin;
--
2.20.1


2019-10-07 14:14:42

by Dan Carpenter

[permalink] [raw]
Subject: Re: [PATCH] staging: rtl8712: align arguments with open parenthesis in file rtl8712_led.c

On Sun, Oct 06, 2019 at 09:39:02PM -0300, Gabriela Bittencourt wrote:
> Cleans up checks of "Alignment should match open parenthesis"
>
> Signed-off-by: Gabriela Bittencourt <[email protected]>
> ---
> drivers/staging/rtl8712/rtl8712_led.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c
> index db99129d3169..5901026949f2 100644
> --- a/drivers/staging/rtl8712/rtl8712_led.c
> +++ b/drivers/staging/rtl8712/rtl8712_led.c
> @@ -75,7 +75,7 @@ static void BlinkWorkItemCallback(struct work_struct *work);
> * Initialize an LED_871x object.
> */
> static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed,
> - enum LED_PIN_871x LedPin)
> + enum LED_PIN_871x LedPin)
^^^^^^
Delete these extra spaces.

regards,
dan carpenter