]> Pileus Git - ~andy/linux/commitdiff
extcon: class: Remove unnecessary extern declaration
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 23 Aug 2013 01:21:38 +0000 (10:21 +0900)
committerGreg 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

index 17544320d1a634309841b57050c9ce2c722ad708..b6a3d379fe9aaeb340660fe97b66e88fb2135885 100644 (file)
@@ -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)
 {