aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorGravatar Sebastian Reichel <sre@kernel.org> 2023-03-17 23:57:05 +0100
committerGravatar Sebastian Reichel <sre@kernel.org> 2023-03-29 22:38:57 +0200
commitca0f6e0d1499e8e23e340d8b7187eeec5c4f6593 (patch)
treebf86938cfb6bb4251fa5085baf31abe6ef6f6bd8 /drivers/power
parentpower: supply: generic-adc-battery: add DT support (diff)
downloadlinux-ca0f6e0d1499e8e23e340d8b7187eeec5c4f6593.tar.gz
linux-ca0f6e0d1499e8e23e340d8b7187eeec5c4f6593.tar.bz2
linux-ca0f6e0d1499e8e23e340d8b7187eeec5c4f6593.zip
power: supply: generic-adc-battery: update copyright info
jz4740-battery.c and s3c_adc_battery.c have been removed from the tree and after all of my restructuring the driver is basically no longer based on them. Thus update the copyright information and switch to SPDX license identifier while being at it. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/generic-adc-battery.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-battery.c
index e11ad43ab968..df1c0a1c6b52 100644
--- a/drivers/power/supply/generic-adc-battery.c
+++ b/drivers/power/supply/generic-adc-battery.c
@@ -1,13 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
/*
- * Generic battery driver code using IIO
+ * Generic battery driver using IIO
* Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com>
- * based on jz4740-battery.c
- * based on s3c_adc_battery.c
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file COPYING in the main directory of this archive for
- * more details.
- *
+ * Copyright (c) 2023, Sebastian Reichel <sre@kernel.org>
*/
#include <linux/interrupt.h>
#include <linux/platform_device.h>