From 7d61592731f4b951803b25b46d112b1280c8ff26 Mon Sep 17 00:00:00 2001 From: Ajay Singh Date: Wed, 7 Mar 2018 07:02:29 +0530 Subject: [PATCH] staging: wilc1000: rename pJoinParams to avoid camelCase Fix 'Avoid camelCase' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh Reviewed-by: Claudiu Beznea Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index a93c550fadd3..9da686b7aa8f 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -315,7 +315,7 @@ static int is_network_in_shadow(struct network_info *nw_info, void *user_void) } static void add_network_to_shadow(struct network_info *nw_info, - void *user_void, void *pJoinParams) + void *user_void, void *join_params) { int ap_found = is_network_in_shadow(nw_info, user_void); u32 ap_index = 0; @@ -360,7 +360,7 @@ static void add_network_to_shadow(struct network_info *nw_info, last_scanned_shadow[ap_index].found = 1; if (ap_found != -1) kfree(last_scanned_shadow[ap_index].join_params); - last_scanned_shadow[ap_index].join_params = pJoinParams; + last_scanned_shadow[ap_index].join_params = join_params; } static void cfg_scan_result(enum scan_event scan_event, -- 2.30.2