From patchwork Thu Jan 5 13:46:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13090587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0629BC3DA7A for ; Thu, 5 Jan 2023 22:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x4rGm/Vp4Fk/c0OeJ/aMx32vteDstOu9yI08PzkneyQ=; b=urpTrLKltn/12I Rue3q4Ix7JHWjjBcDG+IhlnpdTneApH8XP2D9x00mvlnMo21nP9X6Jwxl1f1Dj4lSWahpiJeS2vIW NttQ3psNzgEjPE6GxxwyWSBMvlcsUjmn2PRBrwHa+ADaAtTf7vz24xXypOhN1egYJpG3TDDMSDb5G g9OOHANi4EmbwZ5A6GpGBoUqkZv2v7HKx0jRadvQd3n/z2KkmFl3YINAj9wGPb8H0k6fvg4BJRM01 1Eqn+CrYZJZgQ2BlOW1djgjhCU5AF/0gD8SoPF9We00iOI0JGeCKoR5duWRGNfIeq4+YsJAq7C+Sg TwznGtS1nL+PjHioz0kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDYPO-00FQv4-EU; Thu, 05 Jan 2023 22:08:22 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDVAw-00DkST-VK for linux-arm-kernel@bombadil.infradead.org; Thu, 05 Jan 2023 18:41:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=/I0g97bSlOzVZdnDZBtUJeUCceBDmdkdecQMRSKuA0U=; b=kpcrWeISjbjESor/dFsJpNAVut fM+V3UD0im3AadLZ2fiyk2k1S7rjEAT1mZGRtfymzmQWesQVzm/+tRPTck1afYX/KWNiN98VFDm3s Oy5Y5kYSbSLiiPl8FiAAAyYNLxQVRpF25k/Ecd7Tfrr2uzApCjsTXhXqABkQWGrigfjIvbf5tkK+i L70v6Cnjj48DSZ/PG2b8pQvIJ7AciBcdn8hCZ0sJXy5BalHEAfnhZs54GoPOWO7FmxOeAX1SXQ1T4 jw/9l+jGgnqH+3Hw/+7+X4oCvDIXGS7nfCvpurxKVkZA2D1ulp4EnMiztCkyYtCsUeXF7J5OY4iYY 0LZuRS0g==; Received: from ams.source.kernel.org ([145.40.68.75]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pDQa9-001M1J-0P for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2023 13:46:59 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 621E9B81ABD; Thu, 5 Jan 2023 13:47:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56FD3C433EF; Thu, 5 Jan 2023 13:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672926421; bh=dEuDRHQ7Sm3N5Gxt4MXi3ZvxmHYSAXFo1vd8BJvQn2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OchErH5pzoqwPQBxaeD1KmpvM0Qf2mQyORTo8uiK9ZSVEqrBoYdnvxeA9fgltxI2w K+lt7wSpOAQhtFngzLS1YPMeDa7u8YyYfUQzWhLEXx//v+NcMwVVGMZ14j5B4yYwtc Gz2llC+hREtLN7T2j8TJhoapsu4Tvl9H9Ea4U+iywIe1WfdqiSsa91X/PN/QU6vkOj vpceBO4bgkeM8GC/d+9oF8hnTDs4VEmb/5XPegk8IVnpcFPmYY/oaZHAn80aeJ5bzl P3e/3RKK1j7yO5jllOrMfT/qGfdO1mmg+SQO7/JuMeTPBucaMAGW81RqdaLxPIKrsw 0Y6heMtAHqsQg== From: Arnd Bergmann To: Robert Jarzmik Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Sebastian Reichel , linux-pm@vger.kernel.org Subject: [PATCH 07/27] power: remove tosa_battery driver Date: Thu, 5 Jan 2023 14:46:02 +0100 Message-Id: <20230105134622.254560-8-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105134622.254560-1-arnd@kernel.org> References: <20230105134622.254560-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_134657_330427_0F10F15B X-CRM114-Status: GOOD ( 14.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann The PXA tosa machine is removed, so this driver is no longer in use. Cc: Sebastian Reichel Cc: linux-pm@vger.kernel.org Signed-off-by: Arnd Bergmann --- 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