summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2013-08-23 10:21:38 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 12:03:30 -0700
commit2cc7e4d4b8086a8ad2299b30b610624aa911d1f8 (patch)
tree297c78e6d9a75efa04eddcce40d8db02a47e3d86 /drivers/extcon
parentc2275d2fa587712d285a4db97a68322a233ad2c8 (diff)
downloadop-kernel-dev-2cc7e4d4b8086a8ad2299b30b610624aa911d1f8.zip
op-kernel-dev-2cc7e4d4b8086a8ad2299b30b610624aa911d1f8.tar.gz
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>
Diffstat (limited to 'drivers/extcon')
-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 1754432..b6a3d37 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)
{
OpenPOWER on IntegriCloud