projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d40c99c
)
staging: wilc1000: wilc_dbg: remove wilc
author
Glen Lee
<glen.lee@atmel.com>
Wed, 18 Nov 2015 06:11:36 +0000
(15:11 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:30:50 +0000
(14:30 -0800)
This patch remove parameter struct wilc since it is not used and also wilc_dev
will be removed.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
patch
|
blob
|
blame
|
history
drivers/staging/wilc1000/wilc_wfi_netdevice.h
patch
|
blob
|
blame
|
history
drivers/staging/wilc1000/wilc_wlan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/wilc1000/linux_wlan.c
b/drivers/staging/wilc1000/linux_wlan.c
index 1457e755dc49be9b2c44415fd5ce12e1a93be430..cd471abcedf771bb5d224a1f64550bfc9121333d 100644
(file)
--- a/
drivers/staging/wilc1000/linux_wlan.c
+++ b/
drivers/staging/wilc1000/linux_wlan.c
@@
-245,7
+245,7
@@
static void deinit_irq(struct net_device *dev)
}
}
-void wilc_dbg(
struct wilc *wilc,
u8 *buff)
+void wilc_dbg(u8 *buff)
{
PRINT_D(INIT_DBG, "%d\n", *buff);
}
diff --git
a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index 6ec6d6a2868c26387b92953a59f6b22280f601f5..4c8de8b19c835cc9b70e3b0856ad84cc8328cf04 100644
(file)
--- a/
drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/
drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@
-210,7
+210,7
@@
extern struct net_device *WILC_WFI_devs[];
void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
void wilc_mac_indicate(struct wilc *wilc, int flag);
void wilc_rx_complete(struct wilc *wilc);
-void wilc_dbg(
struct wilc *,
u8 *buff);
+void wilc_dbg(u8 *buff);
int wilc_lock_timeout(struct wilc *wilc, void *, u32 timeout);
void wilc_netdev_cleanup(struct wilc *wilc);
diff --git
a/drivers/staging/wilc1000/wilc_wlan.c
b/drivers/staging/wilc1000/wilc_wlan.c
index a27185115e49b88cce9bbca8fe45a36d56a62b23..a73e99f64f27c87b951bd7b3e1ebc3c40be42560 100644
(file)
--- a/
drivers/staging/wilc1000/wilc_wlan.c
+++ b/
drivers/staging/wilc1000/wilc_wlan.c
@@
-51,7
+51,7
@@
static void wilc_debug(u32 flag, char *fmt, ...)
vsprintf(buf, fmt, args);
va_end(args);
- wilc_dbg(
wilc_dev,
buf);
+ wilc_dbg(buf);
}
}