]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: supply: Remove unused jz4740-battery.h
authorCosta Shulyupin <costa.shul@redhat.com>
Fri, 15 May 2026 18:50:41 +0000 (21:50 +0300)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 3 Jun 2026 21:13:32 +0000 (23:13 +0200)
The last user was removed in commit aea12071d6fc
("power/supply: Drop obsolete JZ4740 driver") and replaced by
a self-contained IIO-based driver. No file includes this header.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://patch.msgid.link/20260515185043.1523363-1-costa.shul@redhat.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
include/linux/power/jz4740-battery.h [deleted file]

diff --git a/include/linux/power/jz4740-battery.h b/include/linux/power/jz4740-battery.h
deleted file mode 100644 (file)
index 10da211..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- *  Copyright (C) 2009, Jiejing Zhang <kzjeef@gmail.com>
- */
-
-#ifndef __JZ4740_BATTERY_H
-#define __JZ4740_BATTERY_H
-
-struct jz_battery_platform_data {
-       struct power_supply_info info;
-       int gpio_charge;        /* GPIO port of Charger state */
-       int gpio_charge_active_low;
-};
-
-#endif