diff mbox series

[07/27] power: remove tosa_battery driver

Message ID 20230105134622.254560-8-arnd@kernel.org (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series ARM: pxa: remove all unused boards&drivers | expand

Commit Message

Arnd Bergmann Jan. 5, 2023, 1:46 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

The PXA tosa machine is removed, so this driver is no longer
in use.

Cc: Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/power/supply/Kconfig        |   7 -
 drivers/power/supply/Makefile       |   1 -
 drivers/power/supply/tosa_battery.c | 512 ----------------------------
 3 files changed, 520 deletions(-)
 delete mode 100644 drivers/power/supply/tosa_battery.c

Comments

Sebastian Reichel Jan. 5, 2023, 4:42 p.m. UTC | #1
Hi,

On Thu, Jan 05, 2023 at 02:46:02PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The PXA tosa machine is removed, so this driver is no longer
> in use.
> 
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

I suppose I could queue this directly, but feel free to just
take it with the other two power-supply driver removal patches:

Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>

-- Sebastian

>  drivers/power/supply/Kconfig        |   7 -
>  drivers/power/supply/Makefile       |   1 -
>  drivers/power/supply/tosa_battery.c | 512 ----------------------------
>  3 files changed, 520 deletions(-)
>  delete mode 100644 drivers/power/supply/tosa_battery.c
> 
> diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
> index b7fdcfd5d4e7..3c37f3a6431c 100644
> --- a/drivers/power/supply/Kconfig
> +++ b/drivers/power/supply/Kconfig
> @@ -195,13 +195,6 @@ config BATTERY_SAMSUNG_SDI
>  	  Say Y to enable support for Samsung SDI battery data.
>  	  These batteries are used in Samsung mobile phones.
>  
> -config BATTERY_TOSA
> -	tristate "Sharp SL-6000 (tosa) battery"
> -	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
> -	help
> -	  Say Y to enable support for the battery on the Sharp Zaurus
> -	  SL-6000 (tosa) models.
> -
>  config BATTERY_COLLIE
>  	tristate "Sharp SL-5500 (collie) battery"
>  	depends on SA1100_COLLIE && MCP_UCB1200
> diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
> index 38737ea9b9d5..55c1aae91d1d 100644
> --- a/drivers/power/supply/Makefile
> +++ b/drivers/power/supply/Makefile
> @@ -36,7 +36,6 @@ obj-$(CONFIG_BATTERY_LEGO_EV3)	+= lego_ev3_battery.o
>  obj-$(CONFIG_BATTERY_PMU)	+= pmu_battery.o
>  obj-$(CONFIG_BATTERY_OLPC)	+= olpc_battery.o
>  obj-$(CONFIG_BATTERY_SAMSUNG_SDI)	+= samsung-sdi-battery.o
> -obj-$(CONFIG_BATTERY_TOSA)	+= tosa_battery.o
>  obj-$(CONFIG_BATTERY_COLLIE)	+= collie_battery.o
>  obj-$(CONFIG_BATTERY_INGENIC)	+= ingenic-battery.o
>  obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
> diff --git a/drivers/power/supply/tosa_battery.c b/drivers/power/supply/tosa_battery.c
> deleted file mode 100644
> index 73d4aca4c386..000000000000
> -- 
> 2.39.0
>
Arnd Bergmann Jan. 5, 2023, 5:16 p.m. UTC | #2
On Thu, Jan 5, 2023, at 17:42, Sebastian Reichel wrote:
> Hi,
>
> On Thu, Jan 05, 2023 at 02:46:02PM +0100, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@arndb.de>
>> 
>> The PXA tosa machine is removed, so this driver is no longer
>> in use.
>> 
>> Cc: Sebastian Reichel <sre@kernel.org>
>> Cc: linux-pm@vger.kernel.org
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>
> I suppose I could queue this directly, but feel free to just
> take it with the other two power-supply driver removal patches:
>
> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>

Thanks! Yes, I'll just keep it all together.

   Arnd
diff mbox series

Patch

diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index b7fdcfd5d4e7..3c37f3a6431c 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -195,13 +195,6 @@  config BATTERY_SAMSUNG_SDI
 	  Say Y to enable support for Samsung SDI battery data.
 	  These batteries are used in Samsung mobile phones.
 
-config BATTERY_TOSA
-	tristate "Sharp SL-6000 (tosa) battery"
-	depends on MACH_TOSA && MFD_TC6393XB && TOUCHSCREEN_WM97XX
-	help
-	  Say Y to enable support for the battery on the Sharp Zaurus
-	  SL-6000 (tosa) models.
-
 config BATTERY_COLLIE
 	tristate "Sharp SL-5500 (collie) battery"
 	depends on SA1100_COLLIE && MCP_UCB1200
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 38737ea9b9d5..55c1aae91d1d 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -36,7 +36,6 @@  obj-$(CONFIG_BATTERY_LEGO_EV3)	+= lego_ev3_battery.o
 obj-$(CONFIG_BATTERY_PMU)	+= pmu_battery.o
 obj-$(CONFIG_BATTERY_OLPC)	+= olpc_battery.o
 obj-$(CONFIG_BATTERY_SAMSUNG_SDI)	+= samsung-sdi-battery.o
-obj-$(CONFIG_BATTERY_TOSA)	+= tosa_battery.o
 obj-$(CONFIG_BATTERY_COLLIE)	+= collie_battery.o
 obj-$(CONFIG_BATTERY_INGENIC)	+= ingenic-battery.o
 obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
diff --git a/drivers/power/supply/tosa_battery.c b/drivers/power/supply/tosa_battery.c
deleted file mode 100644
index 73d4aca4c386..000000000000