Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2 -11
+2 -6
drivers/extcon/extcon-sm5502.c
··· 8 8 * under the terms of the GNU General Public License as published by the 9 9 * Free Software Foundation; either version 2 of the License, or (at your 10 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 13 #include <linux/err.h> ··· 21 26 #include <linux/regmap.h> 22 27 #include <linux/slab.h> 23 28 #include <linux/extcon.h> 24 - #include <linux/extcon/sm5502.h> 29 + 30 + #include "extcon-sm5502.h" 25 31 26 32 #define DELAY_MS_DEFAULT 17000 /* unit: millisecond */ 27 33
-5
include/linux/extcon/sm5502.h drivers/extcon/extcon-sm5502.h
··· 7 7 * under the terms of the GNU General Public License as published by the 8 8 * Free Software Foundation; either version 2 of the License, or (at your 9 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 12 #ifndef __LINUX_EXTCON_SM5502_H