mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_green_ap.c
The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The hdd_adapter_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: I762cb4c29060d780dcf9647aebe7246610d8f923 CRs-Fixed: 2101057
This commit is contained in:
parent
49d45e6d6e
commit
9a7136d522
1 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ static void hdd_green_ap_update(struct hdd_context *hdd_ctx,
|
|||
*
|
||||
* Return: 0 upon success, non-zero upon failure
|
||||
*/
|
||||
static int hdd_green_ap_enable(hdd_adapter_t *adapter, uint8_t enable)
|
||||
static int hdd_green_ap_enable(struct hdd_adapter *adapter, uint8_t enable)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
@ -142,7 +142,7 @@ static void hdd_green_ap_mc(struct hdd_context *hdd_ctx,
|
|||
enum hdd_green_ap_event event)
|
||||
{
|
||||
struct hdd_green_ap_ctx *green_ap;
|
||||
hdd_adapter_t *adapter;
|
||||
struct hdd_adapter *adapter;
|
||||
|
||||
green_ap = hdd_ctx->green_ap_ctx;
|
||||
if (green_ap == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue