All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@kernel.org>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Sebastian Reichel <sre@kernel.org>,
	Anton Vorontsov <cbou@mail.ru>,
	linux-pm@vger.kernel.org
Subject: [PATCH 16/27] power: remove pda_power supply driver
Date: Thu,  5 Jan 2023 14:46:11 +0100	[thread overview]
Message-ID: <20230105134622.254560-17-arnd@kernel.org> (raw)
In-Reply-To: <20230105134622.254560-1-arnd@kernel.org>

From: Arnd Bergmann <arnd@arndb.de>

This driver was used for a couple of Intel PXA and Samsung S3C24xx
based PDAs, but all of those are now removed from the kernel, so
the driver itself is no longer useful.

Cc: Sebastian Reichel <sre@kernel.org>
Cc: Anton Vorontsov <cbou@mail.ru>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 Documentation/power/power_supply_class.rst |   4 +-
 arch/arm/mach-tegra/tegra.c                |   1 -
 drivers/power/supply/Kconfig               |   9 -
 drivers/power/supply/Makefile              |   1 -
 drivers/power/supply/pda_power.c           | 520 ---------------------
 include/linux/pda_power.h                  |  39 --
 6 files changed, 2 insertions(+), 572 deletions(-)
 delete mode 100644 drivers/power/supply/pda_power.c
 delete mode 100644 include/linux/pda_power.h

diff --git a/Documentation/power/power_supply_class.rst b/Documentation/power/power_supply_class.rst
index c04fabee0a58..da8e275a14ff 100644
--- a/Documentation/power/power_supply_class.rst
+++ b/Documentation/power/power_supply_class.rst
@@ -40,8 +40,8 @@ kind of power supply, and can process/present them to a user in consistent
 manner. Results for different power supplies and machines are also directly
 comparable.
 
-See drivers/power/supply/ds2760_battery.c and drivers/power/supply/pda_power.c
-for the example how to declare and handle attributes.
+See drivers/power/supply/ds2760_battery.c for the example how to declare
+and handle attributes.
 
 
 Units
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c
index ab5008f35803..9ef1dfa7b926 100644
--- a/arch/arm/mach-tegra/tegra.c
+++ b/arch/arm/mach-tegra/tegra.c
@@ -19,7 +19,6 @@
 #include <linux/of_fdt.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
-#include <linux/pda_power.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
 #include <linux/slab.h>
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 3c37f3a6431c..e2f8dfcdd2a9 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -28,15 +28,6 @@ config POWER_SUPPLY_HWMON
 	  Say 'Y' here if you want power supplies to
 	  have hwmon sysfs interface too.
 
-
-config PDA_POWER
-	tristate "Generic PDA/phone power driver"
-	depends on !S390
-	help
-	  Say Y here to enable generic power driver for PDAs and phones with
-	  one or two external power supplies (AC/USB) connected to main and
-	  backup batteries, and optional builtin charger.
-
 config APM_POWER
 	tristate "APM emulation for class batteries"
 	depends on APM_EMULATION
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 55c1aae91d1d..8cb3c7f5c111 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_POWER_SUPPLY)	+= power_supply.o
 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o
 obj-$(CONFIG_GENERIC_ADC_BATTERY)	+= generic-adc-battery.o
 
-obj-$(CONFIG_PDA_POWER)		+= pda_power.o
 obj-$(CONFIG_APM_POWER)		+= apm_power.o
 obj-$(CONFIG_AXP20X_POWER)	+= axp20x_usb_power.o
 obj-$(CONFIG_IP5XXX_POWER)	+= ip5xxx_power.o
diff --git a/drivers/power/supply/pda_power.c b/drivers/power/supply/pda_power.c
deleted file mode 100644
index 03a37fd6be27..000000000000
diff --git a/include/linux/pda_power.h b/include/linux/pda_power.h
deleted file mode 100644
index 2a69db4b60b7..000000000000
-- 
2.39.0


WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@kernel.org>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Sebastian Reichel <sre@kernel.org>,
	Anton Vorontsov <cbou@mail.ru>,
	linux-pm@vger.kernel.org
Subject: [PATCH 16/27] power: remove pda_power supply driver
Date: Thu,  5 Jan 2023 14:46:11 +0100	[thread overview]
Message-ID: <20230105134622.254560-17-arnd@kernel.org> (raw)
In-Reply-To: <20230105134622.254560-1-arnd@kernel.org>

From: Arnd Bergmann <arnd@arndb.de>

This driver was used for a couple of Intel PXA and Samsung S3C24xx
based PDAs, but all of those are now removed from the kernel, so
the driver itself is no longer useful.

Cc: Sebastian Reichel <sre@kernel.org>
Cc: Anton Vorontsov <cbou@mail.ru>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 Documentation/power/power_supply_class.rst |   4 +-
 arch/arm/mach-tegra/tegra.c                |   1 -
 drivers/power/supply/Kconfig               |   9 -
 drivers/power/supply/Makefile              |   1 -
 drivers/power/supply/pda_power.c           | 520 ---------------------
 include/linux/pda_power.h                  |  39 --
 6 files changed, 2 insertions(+), 572 deletions(-)
 delete mode 100644 drivers/power/supply/pda_power.c
 delete mode 100644 include/linux/pda_power.h

diff --git a/Documentation/power/power_supply_class.rst b/Documentation/power/power_supply_class.rst
index c04fabee0a58..da8e275a14ff 100644
--- a/Documentation/power/power_supply_class.rst
+++ b/Documentation/power/power_supply_class.rst
@@ -40,8 +40,8 @@ kind of power supply, and can process/present them to a user in consistent
 manner. Results for different power supplies and machines are also directly
 comparable.
 
-See drivers/power/supply/ds2760_battery.c and drivers/power/supply/pda_power.c
-for the example how to declare and handle attributes.
+See drivers/power/supply/ds2760_battery.c for the example how to declare
+and handle attributes.
 
 
 Units
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c
index ab5008f35803..9ef1dfa7b926 100644
--- a/arch/arm/mach-tegra/tegra.c
+++ b/arch/arm/mach-tegra/tegra.c
@@ -19,7 +19,6 @@
 #include <linux/of_fdt.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
-#include <linux/pda_power.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
 #include <linux/slab.h>
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 3c37f3a6431c..e2f8dfcdd2a9 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -28,15 +28,6 @@ config POWER_SUPPLY_HWMON
 	  Say 'Y' here if you want power supplies to
 	  have hwmon sysfs interface too.
 
-
-config PDA_POWER
-	tristate "Generic PDA/phone power driver"
-	depends on !S390
-	help
-	  Say Y here to enable generic power driver for PDAs and phones with
-	  one or two external power supplies (AC/USB) connected to main and
-	  backup batteries, and optional builtin charger.
-
 config APM_POWER
 	tristate "APM emulation for class batteries"
 	depends on APM_EMULATION
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 55c1aae91d1d..8cb3c7f5c111 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_POWER_SUPPLY)	+= power_supply.o
 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o
 obj-$(CONFIG_GENERIC_ADC_BATTERY)	+= generic-adc-battery.o
 
-obj-$(CONFIG_PDA_POWER)		+= pda_power.o
 obj-$(CONFIG_APM_POWER)		+= apm_power.o
 obj-$(CONFIG_AXP20X_POWER)	+= axp20x_usb_power.o
 obj-$(CONFIG_IP5XXX_POWER)	+= ip5xxx_power.o
diff --git a/drivers/power/supply/pda_power.c b/drivers/power/supply/pda_power.c
deleted file mode 100644
index 03a37fd6be27..000000000000
diff --git a/include/linux/pda_power.h b/include/linux/pda_power.h
deleted file mode 100644
index 2a69db4b60b7..000000000000
-- 
2.39.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-01-05 13:47 UTC|newest]

Thread overview: 158+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05 13:45 [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Arnd Bergmann
2023-01-05 13:45 ` Arnd Bergmann
2023-01-05 13:45 ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 01/27] ARM: pxa: remove unused board files Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 15:50   ` Dmitry Baryshkov
2023-01-05 15:50     ` Dmitry Baryshkov
2023-01-05 17:05     ` Richard Purdie
2023-01-05 17:05       ` Richard Purdie
2023-01-05 22:16       ` Arnd Bergmann
2023-01-05 22:16         ` Arnd Bergmann
2023-01-05 22:45         ` Richard Purdie
2023-01-05 22:45           ` Richard Purdie
2023-01-06  9:47           ` Arnd Bergmann
2023-01-06  9:47             ` Arnd Bergmann
2023-01-06 10:06             ` Dmitry Baryshkov
2023-01-06 10:06               ` Dmitry Baryshkov
2023-01-08  9:06               ` Robert Jarzmik
2023-01-08  9:06                 ` Robert Jarzmik
2023-01-08 20:36               ` Linus Walleij
2023-01-08 20:36                 ` Linus Walleij
2023-01-08 21:05               ` Arnd Bergmann
2023-01-08 21:05                 ` Arnd Bergmann
2023-01-08 21:12                 ` Dmitry Baryshkov
2023-01-08 21:12                   ` Dmitry Baryshkov
2023-01-08 21:20                   ` Arnd Bergmann
2023-01-08 21:20                     ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 02/27] ARM: pxa: remove irda leftover Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 13:45 ` [PATCH 03/27] ARM: pxa: remove unused pxa3xx-ulpi Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 14:55   ` Greg Kroah-Hartman
2023-01-05 14:55     ` Greg Kroah-Hartman
2023-01-05 13:45 ` [PATCH 04/27] ARM: pxa: drop pxa310/pxa320/pxa93x support Arnd Bergmann
2023-01-05 13:45   ` Arnd Bergmann
2023-01-05 14:59   ` Ulf Hansson
2023-01-05 14:59     ` Ulf Hansson
2023-01-06  2:19   ` Viresh Kumar
2023-01-06  2:19     ` Viresh Kumar
2023-01-08  8:49   ` Robert Jarzmik
2023-01-08  8:49     ` Robert Jarzmik
2023-01-08 13:40     ` Arnd Bergmann
2023-01-08 13:40       ` Arnd Bergmann
2023-01-09 14:18       ` Arnd Bergmann
2023-01-09 14:18         ` Arnd Bergmann
2023-01-12 17:37       ` Robert Jarzmik
2023-01-12 17:37         ` Robert Jarzmik
2023-01-05 13:46 ` [PATCH 05/27] ARM: pxa: prune unused device support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 06/27] power: remove z2_battery driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 16:35   ` Sebastian Reichel
2023-01-05 16:35     ` Sebastian Reichel
2023-01-05 13:46 ` [PATCH 07/27] power: remove tosa_battery driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 16:42   ` Sebastian Reichel
2023-01-05 16:42     ` Sebastian Reichel
2023-01-05 17:16     ` Arnd Bergmann
2023-01-05 17:16       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 08/27] ata: remove palmld pata driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-06  6:25   ` Damien Le Moal
2023-01-06  6:25     ` Damien Le Moal
2023-01-11 17:37   ` Sergey Shtylyov
2023-01-11 17:37     ` Sergey Shtylyov
2023-01-05 13:46 ` [PATCH 09/27] backlight: remove pxa tosa support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 14:23   ` Daniel Thompson
2023-01-05 14:23     ` Daniel Thompson
2023-01-20 14:00   ` Lee Jones
2023-01-20 14:00     ` Lee Jones
2023-01-05 13:46 ` [PATCH 10/27] input: remove pxa930_trkball driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 11/27] input: remove pxa930_rotary keyboard driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 12/27] input: remove zylonite touchscreen driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 13/27] pcmcia: remove unused pxa/sa1100 drivers Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 14/27] ASoC: PXA: make SND_PXA2XX_SOC_AC97 user-selectable Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 15/27] ASoC: pxa: remove unused board support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-10 13:58   ` Mark Brown
2023-01-10 13:58     ` Mark Brown
2023-01-10 13:58     ` Mark Brown
2023-01-05 13:46 ` Arnd Bergmann [this message]
2023-01-05 13:46   ` [PATCH 16/27] power: remove pda_power supply driver Arnd Bergmann
2023-01-05 16:39   ` Sebastian Reichel
2023-01-05 16:39     ` Sebastian Reichel
2023-01-05 13:46 ` [PATCH 17/27] rtc: remove v3020 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 18/27] mfd: remove toshiba tmio drivers Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:55   ` Lee Jones
2023-01-20 14:55     ` Lee Jones
2023-01-05 13:46 ` [PATCH 19/27] mfd: remove ucb1400 support Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:18   ` Lee Jones
2023-01-20 14:18     ` Lee Jones
2023-01-20 14:18     ` Lee Jones
2023-01-20 14:27     ` Arnd Bergmann
2023-01-20 14:27       ` Arnd Bergmann
2023-01-20 14:27       ` Arnd Bergmann
2023-01-20 14:57       ` Lee Jones
2023-01-20 14:57         ` Lee Jones
2023-01-20 14:57         ` Lee Jones
2023-01-05 13:46 ` [PATCH 20/27] mtd: remove tmio_nand driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-07 15:41   ` Miquel Raynal
2023-01-07 15:41     ` Miquel Raynal
2023-01-07 15:41     ` Miquel Raynal
2023-01-05 13:46 ` [PATCH 21/27] mmc: remove tmio_mmc driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 15:01   ` Ulf Hansson
2023-01-05 15:01     ` Ulf Hansson
2023-01-05 15:44     ` Arnd Bergmann
2023-01-05 15:44       ` Arnd Bergmann
2023-01-16 10:48       ` Ulf Hansson
2023-01-16 10:48         ` Ulf Hansson
2023-01-05 15:14   ` Wolfram Sang
2023-01-05 15:14     ` Wolfram Sang
2023-01-05 13:46 ` [PATCH 22/27] fbdev: remove tmiofb driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-06  9:47   ` Helge Deller
2023-01-06  9:47     ` Helge Deller
2023-01-06  9:47     ` Helge Deller
2023-01-06 11:25     ` Arnd Bergmann
2023-01-06 11:25       ` Arnd Bergmann
2023-01-06 11:25       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 23/27] fbdev: remove w100fb driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 24/27] leds: remove asic3 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:02   ` Lee Jones
2023-01-20 14:02     ` Lee Jones
2023-01-05 13:46 ` [PATCH 25/27] usb: remove ohci-tmio driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 14:55   ` Greg Kroah-Hartman
2023-01-05 14:55     ` Greg Kroah-Hartman
2023-01-05 15:03     ` Arnd Bergmann
2023-01-05 15:03       ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 26/27] w1: remove ds1wm driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-05 13:46 ` [PATCH 27/27] mfd: remove htc-pasic3 driver Arnd Bergmann
2023-01-05 13:46   ` Arnd Bergmann
2023-01-20 14:09   ` Lee Jones
2023-01-20 14:09     ` Lee Jones
2023-01-12 20:01 ` (subset) [PATCH v2 00/27] ARM: pxa: remove all unused boards&drivers Mark Brown
2023-01-12 20:01   ` Mark Brown
2023-01-12 20:01   ` Mark Brown
2023-01-12 20:01   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230105134622.254560-17-arnd@kernel.org \
    --to=arnd@kernel.org \
    --cc=arnd@arndb.de \
    --cc=cbou@mail.ru \
    --cc=daniel@zonque.org \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robert.jarzmik@free.fr \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.