summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Bcmchar.c
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-08-27 12:57:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-30 13:01:37 -0700
commit657c65dd666058c3783796f3f844c6507c78d5f0 (patch)
tree02de8c873faf38e2787b35c4b81815c527f37367 /drivers/staging/bcm/Bcmchar.c
parent11d37b1f36c83e80267630c9856eb205b7426e0b (diff)
Staging: bcm: Bcmchar.c: Renamed variable: "threadReq" -> "thread_req"
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Bcmchar.c')
-rw-r--r--drivers/staging/bcm/Bcmchar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index fbf15507a1e9..4463c4701ce9 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -589,7 +589,7 @@ static int bcm_char_ioctl_gpio_set_request(void __user *argp,
static int bcm_char_ioctl_led_thread_state_change_req(void __user *argp,
struct bcm_mini_adapter *ad)
{
- struct bcm_user_thread_req threadReq = {0};
+ struct bcm_user_thread_req thread_req = {0};
struct bcm_ioctl_buffer IoBuffer;
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
@@ -608,10 +608,10 @@ static int bcm_char_ioctl_led_thread_state_change_req(void __user *argp,
if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer)))
return -EFAULT;
- if (IoBuffer.InputLength > sizeof(threadReq))
+ if (IoBuffer.InputLength > sizeof(thread_req))
return -EINVAL;
- if (copy_from_user(&threadReq, IoBuffer.InputBuffer,
+ if (copy_from_user(&thread_req, IoBuffer.InputBuffer,
IoBuffer.InputLength))
return -EFAULT;
@@ -619,7 +619,7 @@ static int bcm_char_ioctl_led_thread_state_change_req(void __user *argp,
* set it state to make inactive
*/
if (ad->LEDInfo.led_thread_running) {
- if (threadReq.ThreadState == LED_THREAD_ACTIVATION_REQ) {
+ if (thread_req.ThreadState == LED_THREAD_ACTIVATION_REQ) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS,
OSAL_DBG, DBG_LVL_ALL,
"Activating thread req");