summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2013-08-23 03:21:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 21:03:30 +0200
commit2cc7e4d4b8086a8ad2299b30b610624aa911d1f8 (patch)
tree297c78e6d9a75efa04eddcce40d8db02a47e3d86
parentextcon: Fix up 80 column coding style issues (diff)
downloadlinux-2cc7e4d4b8086a8ad2299b30b610624aa911d1f8.tar.xz
linux-2cc7e4d4b8086a8ad2299b30b610624aa911d1f8.zip
extcon: class: Remove unnecessary extern declaration
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>
-rw-r--r--drivers/extcon/extcon-class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index 17544320d1a6..b6a3d379fe9a 100644
--- 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)
{