]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
extcon: sm5502: Move sm5502.h header file to extcon directory
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 31 Jul 2014 07:32:46 +0000 (16:32 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 22 Sep 2014 02:43:08 +0000 (11:43 +0900)
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>
drivers/extcon/extcon-sm5502.c
drivers/extcon/extcon-sm5502.h [moved from include/linux/extcon/sm5502.h with 97% similarity]

index a1ba9242e9cba028b05a43d6a96727e0d1d51d3e..f94d66aae9e3eafca260ab847864c2ee82bf6193 100644 (file)
@@ -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 */
 
similarity index 97%
rename from include/linux/extcon/sm5502.h
rename to drivers/extcon/extcon-sm5502.h
index 030526bf8d797fcd2b321bdd62cc278cbaae013c..974b53222f568df3aefcc25c9fe7c732eec7ec4d 100644 (file)
@@ -7,11 +7,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.
  */
 
 #ifndef __LINUX_EXTCON_SM5502_H