projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2275d2
)
extcon: class: Remove unnecessary extern declaration
author
Chanwoo Choi
<cw00.choi@samsung.com>
Fri, 23 Aug 2013 01:21:38 +0000
(10:21 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 19:03:30 +0000
(12:03 -0700)
This patch remove unnecessary extern declaration (extcon_set_state).
checkpatch found this coding style issue.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-class.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-class.c
b/drivers/extcon/extcon-class.c
index 17544320d1a634309841b57050c9ce2c722ad708..b6a3d379fe9aaeb340660fe97b66e88fb2135885 100644
(file)
--- a/
drivers/extcon/extcon-class.c
+++ b/
drivers/extcon/extcon-class.c
@@
-129,7
+129,6
@@
static ssize_t state_show(struct device *dev, struct device_attribute *attr,
return count;
}
-int extcon_set_state(struct extcon_dev *edev, u32 state);
static ssize_t state_store(struct device *dev, struct device_attribute *attr,
const char *buf, size_t count)
{