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

mfd: maxim: Add SPDX license identifiers

Replace GPL v2.0+ license statements with SPDX license identifiers.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
d7d8d7a2 39b27ad9

+76 -297
+9 -19
drivers/mfd/max14577.c
··· 1 - /* 2 - * max14577.c - mfd core driver for the Maxim 14577/77836 3 - * 4 - * Copyright (C) 2014 Samsung Electronics 5 - * Chanwoo Choi <cw00.choi@samsung.com> 6 - * Krzysztof Kozlowski <krzk@kernel.org> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * This driver is based on max8997.c 19 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max14577.c - mfd core driver for the Maxim 14577/77836 4 + // 5 + // Copyright (C) 2014 Samsung Electronics 6 + // Chanwoo Choi <cw00.choi@samsung.com> 7 + // Krzysztof Kozlowski <krzk@kernel.org> 8 + // 9 + // This driver is based on max8997.c 20 10 21 11 #include <linux/err.h> 22 12 #include <linux/module.h>
+9 -23
drivers/mfd/max77686.c
··· 1 - /* 2 - * max77686.c - mfd core driver for the Maxim 77686/802 3 - * 4 - * Copyright (C) 2012 Samsung Electronics 5 - * Chiwoong Byun <woong.byun@samsung.com> 6 - * Jonghwa Lee <jonghwa3.lee@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - * 22 - * This driver is based on max8997.c 23 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77686.c - mfd core driver for the Maxim 77686/802 4 + // 5 + // Copyright (C) 2012 Samsung Electronics 6 + // Chiwoong Byun <woong.byun@samsung.com> 7 + // Jonghwa Lee <jonghwa3.lee@samsung.com> 8 + // 9 + //This driver is based on max8997.c 24 10 25 11 #include <linux/export.h> 26 12 #include <linux/slab.h>
+10 -24
drivers/mfd/max77693.c
··· 1 - /* 2 - * max77693.c - mfd core driver for the MAX 77693 3 - * 4 - * Copyright (C) 2012 Samsung Electronics 5 - * SangYoung Son <hello.son@samsung.com> 6 - * 7 - * This program is not provided / owned by Maxim Integrated Products. 8 - * 9 - * This program is free software; you can redistribute it and/or modify 10 - * it under the terms of the GNU General Public License as published by 11 - * the Free Software Foundation; either version 2 of the License, or 12 - * (at your option) any later version. 13 - * 14 - * This program is distributed in the hope that it will be useful, 15 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - * GNU General Public License for more details. 18 - * 19 - * You should have received a copy of the GNU General Public License 20 - * along with this program; if not, write to the Free Software 21 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 - * 23 - * This driver is based on max8997.c 24 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77693.c - mfd core driver for the MAX 77693 4 + // 5 + // Copyright (C) 2012 Samsung Electronics 6 + // SangYoung Son <hello.son@samsung.com> 7 + // 8 + // This program is not provided / owned by Maxim Integrated Products. 9 + // 10 + // This driver is based on max8997.c 25 11 26 12 #include <linux/module.h> 27 13 #include <linux/slab.h>
+7 -12
drivers/mfd/max77843.c
··· 1 - /* 2 - * MFD core driver for the Maxim MAX77843 3 - * 4 - * Copyright (C) 2015 Samsung Electronics 5 - * Author: Jaewon Kim <jaewon02.kim@samsung.com> 6 - * Author: Beomho Seo <beomho.seo@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // MFD core driver for the Maxim MAX77843 4 + // 5 + // Copyright (C) 2015 Samsung Electronics 6 + // Author: Jaewon Kim <jaewon02.kim@samsung.com> 7 + // Author: Beomho Seo <beomho.seo@samsung.com> 13 8 14 9 #include <linux/err.h> 15 10 #include <linux/i2c.h>
+8 -22
drivers/mfd/max8997-irq.c
··· 1 - /* 2 - * max8997-irq.c - Interrupt controller support for MAX8997 3 - * 4 - * Copyright (C) 2011 Samsung Electronics Co.Ltd 5 - * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - * 21 - * This driver is based on max8998-irq.c 22 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8997-irq.c - Interrupt controller support for MAX8997 4 + // 5 + // Copyright (C) 2011 Samsung Electronics Co.Ltd 6 + // MyungJoo Ham <myungjoo.ham@samsung.com> 7 + // 8 + // This driver is based on max8998-irq.c 23 9 24 10 #include <linux/err.h> 25 11 #include <linux/irq.h>
+8 -22
drivers/mfd/max8997.c
··· 1 - /* 2 - * max8997.c - mfd core driver for the Maxim 8966 and 8997 3 - * 4 - * Copyright (C) 2011 Samsung Electronics 5 - * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - * 21 - * This driver is based on max8998.c 22 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8997.c - mfd core driver for the Maxim 8966 and 8997 4 + // 5 + // Copyright (C) 2011 Samsung Electronics 6 + // MyungJoo Ham <myungjoo.ham@samsung.com> 7 + // 8 + // This driver is based on max8998.c 23 9 24 10 #include <linux/err.h> 25 11 #include <linux/slab.h>
+6 -12
drivers/mfd/max8998-irq.c
··· 1 - /* 2 - * Interrupt controller support for MAX8998 3 - * 4 - * Copyright (C) 2010 Samsung Electronics Co.Ltd 5 - * Author: Joonyoung Shim <jy0922.shim@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify it 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 10 - * option) any later version. 11 - * 12 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // Interrupt controller support for MAX8998 4 + // 5 + // Copyright (C) 2010 Samsung Electronics Co.Ltd 6 + // Author: Joonyoung Shim <jy0922.shim@samsung.com> 13 7 14 8 #include <linux/device.h> 15 9 #include <linux/interrupt.h>
+7 -21
drivers/mfd/max8998.c
··· 1 - /* 2 - * max8998.c - mfd core driver for the Maxim 8998 3 - * 4 - * Copyright (C) 2009-2010 Samsung Electronics 5 - * Kyungmin Park <kyungmin.park@samsung.com> 6 - * Marek Szyprowski <m.szyprowski@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8998.c - mfd core driver for the Maxim 8998 4 + // 5 + // Copyright (C) 2009-2010 Samsung Electronics 6 + // Kyungmin Park <kyungmin.park@samsung.com> 7 + // Marek Szyprowski <m.szyprowski@samsung.com> 22 8 23 9 #include <linux/err.h> 24 10 #include <linux/init.h>
+1 -10
include/linux/mfd/max14577-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip 3 4 * 4 5 * Copyright (C) 2014 Samsung Electrnoics 5 6 * Chanwoo Choi <cw00.choi@samsung.com> 6 7 * Krzysztof Kozlowski <krzk@kernel.org> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 8 */ 18 9 19 10 #ifndef __MAX14577_PRIVATE_H__
+1 -10
include/linux/mfd/max14577.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max14577.h - Driver for the Maxim 14577/77836 3 4 * 4 5 * Copyright (C) 2014 Samsung Electrnoics 5 6 * Chanwoo Choi <cw00.choi@samsung.com> 6 7 * Krzysztof Kozlowski <krzk@kernel.org> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 8 * 18 9 * This driver is based on max8997.h 19 10 *
+1 -14
include/linux/mfd/max77686-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max77686-private.h - Voltage regulator driver for the Maxim 77686/802 3 4 * 4 5 * Copyright (C) 2012 Samsung Electrnoics 5 6 * Chiwoong Byun <woong.byun@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 7 */ 21 8 22 9 #ifndef __LINUX_MFD_MAX77686_PRIV_H
+1 -14
include/linux/mfd/max77686.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max77686.h - Driver for the Maxim 77686/802 3 4 * 4 5 * Copyright (C) 2012 Samsung Electrnoics 5 6 * Chiwoong Byun <woong.byun@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 7 * 21 8 * This driver is based on max8997.h 22 9 *
+1 -5
include/linux/mfd/max77693-common.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * Common data shared between Maxim 77693 and 77843 drivers 3 4 * 4 5 * Copyright (C) 2015 Samsung Electronics 5 - * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; either version 2 of the License, or 9 - * (at your option) any later version. 10 6 */ 11 7 12 8 #ifndef __LINUX_MFD_MAX77693_COMMON_H
+1 -14
include/linux/mfd/max77693-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max77693-private.h - Voltage regulator driver for the Maxim 77693 3 4 * ··· 6 5 * SangYoung Son <hello.son@samsung.com> 7 6 * 8 7 * This program is not provided / owned by Maxim Integrated Products. 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License as published by 12 - * the Free Software Foundation; either version 2 of the License, or 13 - * (at your option) any later version. 14 - * 15 - * This program is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 - * 20 - * You should have received a copy of the GNU General Public License 21 - * along with this program; if not, write to the Free Software 22 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 8 */ 24 9 25 10 #ifndef __LINUX_MFD_MAX77693_PRIV_H
+1 -14
include/linux/mfd/max77693.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max77693.h - Driver for the Maxim 77693 3 4 * ··· 6 5 * SangYoung Son <hello.son@samsung.com> 7 6 * 8 7 * This program is not provided / owned by Maxim Integrated Products. 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License as published by 12 - * the Free Software Foundation; either version 2 of the License, or 13 - * (at your option) any later version. 14 - * 15 - * This program is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 - * 20 - * You should have received a copy of the GNU General Public License 21 - * along with this program; if not, write to the Free Software 22 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 8 * 24 9 * This driver is based on max8997.h 25 10 *
+1 -5
include/linux/mfd/max77843-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * Common variables for the Maxim MAX77843 driver 3 4 * 4 5 * Copyright (C) 2015 Samsung Electronics 5 6 * Author: Jaewon Kim <jaewon02.kim@samsung.com> 6 7 * Author: Beomho Seo <beomho.seo@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 8 */ 13 9 14 10 #ifndef __MAX77843_PRIVATE_H_
+1 -14
include/linux/mfd/max8997-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max8997-private.h - Voltage regulator driver for the Maxim 8997 3 4 * 4 5 * Copyright (C) 2010 Samsung Electrnoics 5 6 * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 7 */ 21 8 22 9 #ifndef __LINUX_MFD_MAX8997_PRIV_H
+1 -14
include/linux/mfd/max8997.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max8997.h - Driver for the Maxim 8997/8966 3 4 * 4 5 * Copyright (C) 2009-2010 Samsung Electrnoics 5 6 * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your 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 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 7 * 21 8 * This driver is based on max8998.h 22 9 *
+1 -14
include/linux/mfd/max8998-private.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max8998-private.h - Voltage regulator driver for the Maxim 8998 3 4 * 4 5 * Copyright (C) 2009-2010 Samsung Electrnoics 5 6 * Kyungmin Park <kyungmin.park@samsung.com> 6 7 * Marek Szyprowski <m.szyprowski@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 8 */ 22 9 23 10 #ifndef __LINUX_MFD_MAX8998_PRIV_H
+1 -14
include/linux/mfd/max8998.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * max8998.h - Voltage regulator driver for the Maxim 8998 3 4 * 4 5 * Copyright (C) 2009-2010 Samsung Electrnoics 5 6 * Kyungmin Park <kyungmin.park@samsung.com> 6 7 * Marek Szyprowski <m.szyprowski@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 8 */ 22 9 23 10 #ifndef __LINUX_MFD_MAX8998_H