mwifiex: rename mwifiex_free_adapter() routine in init.c
authorBing Zhao <bzhao@marvell.com>
Thu, 9 May 2013 18:51:23 +0000 (11:51 -0700)
committerChromeBot <chrome-bot@google.com>
Fri, 10 May 2013 22:45:29 +0000 (15:45 -0700)
commit4360a1e8594c1c4110966571d7aa9aabf88ad1ac
tree086fde00bafb18bb132ff1b68cf125b1639d6ca0
parentcc7cd8696f158fd7323cd05fadecf1226332d88d
mwifiex: rename mwifiex_free_adapter() routine in init.c

We have two different static routines with name
mwifiex_free_adapter(). The routine in main.c actually frees the
adapter structure.

We will rename other routine in init.c to mwifiex_adapter_cleanup()
to avoid confusion.

BUG=None
TEST="iwlist mlan0 scan & sleep 1; rmmod mwifiex_sdio";
"echo scan > /sys/kernel/debug/kmemleak; cat /sys/kernel/debug/kmemleak"

Change-Id: I84933ea996d6d0f6568b2ae915ade5214e25790a
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/50684
Reviewed-by: Paul Stewart <pstew@chromium.org>
drivers/net/wireless/mwifiex/init.c