summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-sm5502.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-07-31 09:32:46 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2014-09-22 04:43:08 +0200
commitca2a07e45d1d3d31a0a85d2f63d81a897c610040 (patch)
tree774e177e1e6b2b505c8b26146a13d167f99773a5 /drivers/extcon/extcon-sm5502.c
parentextcon: sm5502: Add I2C dependency to fix build break (diff)
downloadlinux-ca2a07e45d1d3d31a0a85d2f63d81a897c610040.tar.xz
linux-ca2a07e45d1d3d31a0a85d2f63d81a897c610040.zip
extcon: sm5502: Move sm5502.h header file to extcon directory
This patch move sm5502.h header file from 'include/linux/extcon' to 'driver/extcon' because sm5502.h is used for driver/extcon/extcon-sm5502.c. and remove duplicate license description. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-sm5502.c')
-rw-r--r--drivers/extcon/extcon-sm5502.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c
index a1ba9242e9cb..f94d66aae9e3 100644
--- a/drivers/extcon/extcon-sm5502.c
+++ b/drivers/extcon/extcon-sm5502.c
@@ -8,11 +8,6 @@
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
*/
#include <linux/err.h>
@@ -26,7 +21,8 @@
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/extcon.h>
-#include <linux/extcon/sm5502.h>
+
+#include "extcon-sm5502.h"
#define DELAY_MS_DEFAULT 17000 /* unit: millisecond */