aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2014-07-31 03:32:46 -0400
committerChanwoo Choi <cw00.choi@samsung.com>2014-09-21 22:43:08 -0400
commitca2a07e45d1d3d31a0a85d2f63d81a897c610040 (patch)
tree774e177e1e6b2b505c8b26146a13d167f99773a5
parent0746d5d31f61721bf3e4ab84d75fac08d03e2a9a (diff)
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>
-rw-r--r--drivers/extcon/extcon-sm5502.c8
-rw-r--r--drivers/extcon/extcon-sm5502.h (renamed from include/linux/extcon/sm5502.h)5
2 files changed, 2 insertions, 11 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 @@
8 * under the terms of the GNU General Public License as published by the 8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your 9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. 10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 */ 11 */
17 12
18#include <linux/err.h> 13#include <linux/err.h>
@@ -26,7 +21,8 @@
26#include <linux/regmap.h> 21#include <linux/regmap.h>
27#include <linux/slab.h> 22#include <linux/slab.h>
28#include <linux/extcon.h> 23#include <linux/extcon.h>
29#include <linux/extcon/sm5502.h> 24
25#include "extcon-sm5502.h"
30 26
31#define DELAY_MS_DEFAULT 17000 /* unit: millisecond */ 27#define DELAY_MS_DEFAULT 17000 /* unit: millisecond */
32 28
diff --git a/include/linux/extcon/sm5502.h b/drivers/extcon/extcon-sm5502.h
index 030526bf8d79..974b53222f56 100644
--- a/include/linux/extcon/sm5502.h
+++ b/drivers/extcon/extcon-sm5502.h
@@ -7,11 +7,6 @@
7 * under the terms of the GNU General Public License as published by the 7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your 8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. 9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */ 10 */
16 11
17#ifndef __LINUX_EXTCON_SM5502_H 12#ifndef __LINUX_EXTCON_SM5502_H