staging: wilc1000: merge drv_handle and operation_mode wids
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Thu, 1 Aug 2019 20:15:11 +0000 (20:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:56:59 +0000 (13:56 +0200)
commit4b1b8b08ab9f4db41e30e3a1bbdba1d58aa624a3
tree3e5c07c8c36355bf346f026affe17395c748ca31
parentb7a40c32f18a88b2a1e894a4406cf9d97423c078
staging: wilc1000: merge drv_handle and operation_mode wids

wilc_set_wfi_drv_handler and wilc_set_operation_mode sends the same
parameters to the FW, so it's better to combine them together.

Kept wilc_set_wfi_drv_handler implementation since it sends all the
required parameters, and renamed it to wilc_set_operation_mode to be
more descriptive.

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Link: https://lore.kernel.org/r/20190801200909.12605-2-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_hif.c
drivers/staging/wilc1000/wilc_hif.h
drivers/staging/wilc1000/wilc_netdev.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wlan_if.h