From: Chanwoo Choi Date: Thu, 31 Jul 2014 07:32:46 +0000 (+0900) Subject: extcon: sm5502: Move sm5502.h header file to extcon directory X-Git-Tag: v3.18-rc1~126^2~70^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca2a07e45d1d3d31a0a85d2f63d81a897c610040;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c index a1ba9242e9cba..f94d66aae9e3e 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 @@ -26,7 +21,8 @@ #include #include #include -#include + +#include "extcon-sm5502.h" #define DELAY_MS_DEFAULT 17000 /* unit: millisecond */ diff --git a/include/linux/extcon/sm5502.h b/drivers/extcon/extcon-sm5502.h similarity index 97% rename from include/linux/extcon/sm5502.h rename to drivers/extcon/extcon-sm5502.h index 030526bf8d797..974b53222f568 100644 --- a/include/linux/extcon/sm5502.h +++ b/drivers/extcon/extcon-sm5502.h @@ -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