From 26d7f2f9dffccafb99e3610e418003687dba80c6 Mon Sep 17 00:00:00 2001 From: Lars Ivar Miljeteig Date: Wed, 23 Sep 2020 13:41:36 +0200 Subject: [PATCH] max77818: Add licensing info --- drivers/mfd/max77818.c | 20 +++++++++--- drivers/power/supply/max77818-charger.c | 31 +++++++++++++------ drivers/power/supply/max77818_battery.c | 6 ++++ drivers/power/supply/max77818_battery_utils.c | 20 ++++++++++++ include/linux/power/max77818_battery_utils.h | 20 ++++++++++++ 5 files changed, 82 insertions(+), 15 deletions(-) diff --git a/drivers/mfd/max77818.c b/drivers/mfd/max77818.c index 84ce5fd22a52..ed5220a41aa5 100644 --- a/drivers/mfd/max77818.c +++ b/drivers/mfd/max77818.c @@ -3,14 +3,24 @@ * * Copyright (C) 2014 Maxim Integrated Product * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ + * + * Author: Steinar Bakkemo + * Author: Shawn Guo + * Author: Lars Ivar Miljeteig + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * * This driver is based on max77843.c */ - #include #include #include @@ -363,4 +373,4 @@ static struct i2c_driver max77818_i2c_driver = { module_i2c_driver(max77818_i2c_driver); MODULE_DESCRIPTION("MAX77818 MFD Driver"); -MODULE_LICENSE("GPL"); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/power/supply/max77818-charger.c b/drivers/power/supply/max77818-charger.c index 4c71f7674b76..9f19e6fc9015 100644 --- a/drivers/power/supply/max77818-charger.c +++ b/drivers/power/supply/max77818-charger.c @@ -1,14 +1,25 @@ /* -* Maxim MAX77818 Charger Driver -* -* Copyright (C) 2014 Maxim Integrated Product -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This driver is based on max77843-charger.c -*/ + * Maxim MAX77818 Charger Driver + * + * Copyright (C) 2014 Maxim Integrated Product + * + * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ + * + * Author: Steinar Bakkemo + * Author: Shawn Guo + * Author: Lars Ivar Miljeteig + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * This driver is based on max77843.c + */ #include #include diff --git a/drivers/power/supply/max77818_battery.c b/drivers/power/supply/max77818_battery.c index 0348e0897613..10927e751588 100644 --- a/drivers/power/supply/max77818_battery.c +++ b/drivers/power/supply/max77818_battery.c @@ -5,6 +5,12 @@ * Copyright (C) 2011 Samsung Electronics * MyungJoo Ham * + * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ + * + * Author: Steinar Bakkemo + * Author: Shawn Guo + * Author: Lars Ivar Miljeteig + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/drivers/power/supply/max77818_battery_utils.c b/drivers/power/supply/max77818_battery_utils.c index e980895dbc7b..17708f0e9b08 100644 --- a/drivers/power/supply/max77818_battery_utils.c +++ b/drivers/power/supply/max77818_battery_utils.c @@ -1,3 +1,23 @@ +/* + * Maxim MAX77818 Battery Utils + * + * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ + * + * Author: Steinar Bakkemo + * Author: Shawn Guo + * Author: Lars Ivar Miljeteig + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + #include #include diff --git a/include/linux/power/max77818_battery_utils.h b/include/linux/power/max77818_battery_utils.h index 891dce555406..3e7138e777f8 100644 --- a/include/linux/power/max77818_battery_utils.h +++ b/include/linux/power/max77818_battery_utils.h @@ -1,3 +1,23 @@ +/* + * Maxim MAX77818 Battery Utils + * + * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ + * + * Author: Steinar Bakkemo + * Author: Shawn Guo + * Author: Lars Ivar Miljeteig + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + #ifndef __MAX17818_BATTERY_UTILS_H_ #define __MAX17818_BATTERY_UTILS_H_