From: Michael Straube Date: Wed, 21 Nov 2018 19:49:34 +0000 (+0100) Subject: staging: rtl8188eu: rename BlinkHandler to avoid CamelCase X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87631cf279e5f57963bd723059e0d426805edf98;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8188eu: rename BlinkHandler to avoid CamelCase Rename the function BlinkHandler to avoid CamelCase. BlinkHandler -> blink_handler Signed-off-by: Michael Straube Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_led.c b/drivers/staging/rtl8188eu/core/rtw_led.c index 851c12f032e8..481e2f1930c1 100644 --- a/drivers/staging/rtl8188eu/core/rtw_led.c +++ b/drivers/staging/rtl8188eu/core/rtw_led.c @@ -33,7 +33,7 @@ void BlinkWorkItemCallback(struct work_struct *work) struct LED_871x *pLed = container_of(work, struct LED_871x, BlinkWorkItem); - BlinkHandler(pLed); + blink_handler(pLed); } /* */ @@ -459,7 +459,7 @@ static void SwLedControlMode1(struct adapter *padapter, enum LED_CTL_MODE LedAct /* Description: */ /* Handler function of LED Blinking. */ /* */ -void BlinkHandler(struct LED_871x *pLed) +void blink_handler(struct LED_871x *pLed) { struct adapter *padapter = pLed->padapter; diff --git a/drivers/staging/rtl8188eu/include/rtw_led.h b/drivers/staging/rtl8188eu/include/rtw_led.h index 65cd9ce567b5..80f8dcce05dc 100644 --- a/drivers/staging/rtl8188eu/include/rtw_led.h +++ b/drivers/staging/rtl8188eu/include/rtw_led.h @@ -93,7 +93,7 @@ void InitLed871x(struct adapter *padapter, struct LED_871x *pLed); void DeInitLed871x(struct LED_871x *pLed); /* hal... */ -void BlinkHandler(struct LED_871x *pLed); +void blink_handler(struct LED_871x *pLed); void sw_led_on(struct adapter *padapter, struct LED_871x *pLed); void sw_led_off(struct adapter *padapter, struct LED_871x *pLed);