staging: wilc1000: rename enuEvent to avoid camelCase

Fix "Avoid camelCase" issue found by checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ajay Singh 2018-03-02 19:52:37 +05:30 committed by Greg Kroah-Hartman
parent 4c1f0e3aff
commit cd1ce6ebd9

View File

@ -267,7 +267,7 @@ static struct wilc_vif *join_req_vif;
static void *host_int_parse_join_bss_param(struct network_info *info); static void *host_int_parse_join_bss_param(struct network_info *info);
static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx); static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx);
static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event enuEvent); static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt);
static void host_if_work(struct work_struct *work); static void host_if_work(struct work_struct *work);
/*! /*!
@ -863,15 +863,14 @@ ERRORHANDLER:
return result; return result;
} }
static s32 handle_scan_done(struct wilc_vif *vif, static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event evt)
enum scan_event enuEvent)
{ {
s32 result = 0; s32 result = 0;
u8 u8abort_running_scan; u8 u8abort_running_scan;
struct wid wid; struct wid wid;
struct host_if_drv *hif_drv = vif->hif_drv; struct host_if_drv *hif_drv = vif->hif_drv;
if (enuEvent == SCAN_EVENT_ABORTED) { if (evt == SCAN_EVENT_ABORTED) {
u8abort_running_scan = 1; u8abort_running_scan = 1;
wid.id = (u16)WID_ABORT_RUNNING_SCAN; wid.id = (u16)WID_ABORT_RUNNING_SCAN;
wid.type = WID_CHAR; wid.type = WID_CHAR;
@ -893,7 +892,7 @@ static s32 handle_scan_done(struct wilc_vif *vif,
} }
if (hif_drv->usr_scan_req.scan_result) { if (hif_drv->usr_scan_req.scan_result) {
hif_drv->usr_scan_req.scan_result(enuEvent, NULL, hif_drv->usr_scan_req.scan_result(evt, NULL,
hif_drv->usr_scan_req.arg, NULL); hif_drv->usr_scan_req.arg, NULL);
hif_drv->usr_scan_req.scan_result = NULL; hif_drv->usr_scan_req.scan_result = NULL;
} }