projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21e9c5
)
ar8216: remove unused function parameter in ar8327_led_register
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 18 Dec 2014 11:28:20 +0000
(11:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 18 Dec 2014 11:28:20 +0000
(11:28 +0000)
Remove unused function parameter in ar8327_led_register.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43739
target/linux/generic/files/drivers/net/phy/ar8216.c
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 91e090af813c448c0e7fc6c3752b31710cb9b8c1..fe3b36666d29046bceafc614f1aa672dd5f4f183 100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/
target/linux/generic/files/drivers/net/phy/ar8216.c
@@
-1393,7
+1393,7
@@
static DEVICE_ATTR(enable_hw_mode, S_IRUGO | S_IWUSR,
ar8327_led_enable_hw_mode_store);
static int
-ar8327_led_register(struct ar8
xxx_priv *priv, struct ar8
327_led *aled)
+ar8327_led_register(struct ar8327_led *aled)
{
int ret;
@@
-1467,7
+1467,7
@@
ar8327_led_create(struct ar8xxx_priv *priv,
mutex_init(&aled->mutex);
INIT_WORK(&aled->led_work, ar8327_led_work_func);
- ret = ar8327_led_register(
priv,
aled);
+ ret = ar8327_led_register(aled);
if (ret)
goto err_free;