From patchwork Fri Oct 21 20:27:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13015422 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 48A1CC433FE for ; Fri, 21 Oct 2022 20:44:15 +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=uQDmtSoMDC04E0M7+RV3iHsMtUF+tXems3kS7qkW/zI=; b=Xey7kkcb3QBjJI Qv7ZwGsSSQ+OnYO+np27S/p3NUR6CZT+s7pHJeCs8itH5m51MvkmDkOZ7WvKobEdAzRm3iAN0zpX1 bOkORnvs9XXs8ueZp5SNlNrU6t4rgk1YcQndmwiqFRBccMpZiAk39esGiAVXNvVg24hife2sOMX6D XlaPQEAB+Gv8hjff7Jt39wu4xCxSZR/KzmpTzWRIsBp76yHlqIm9wY2t1yrDNMzWXcqz11M2HiVdg i/7b+WVH2dFaGOQDxFl7/TN2jesje4LvguqZuWiEZuPyw0pcZiDk5pocPZt0KlRTh4LScF6lxODrS w3aIG2dXlN0yX7vWPWJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olyrK-009ptr-0t; Fri, 21 Oct 2022 20:43:15 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olyrD-009prQ-H6 for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2022 20:43:09 +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 dfw.source.kernel.org (Postfix) with ESMTPS id D062D61F86; Fri, 21 Oct 2022 20:43:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5B1AC433C1; Fri, 21 Oct 2022 20:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666384986; bh=ZRuew8H2IVJtQjPQ4OtZq012SU14YGDgRtLmhljfjrk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eesCGvG7neRIWHjJcwV8I0J5EG54Zcp/smPrxCPTmMnPeBVp7LypHS2z3LnODC6z/ muzPRa29R10CvlzhrjBPgi+qnuGzktVGLd0RKb+YScId60v3lexcWg6dZksBHAYaQV qWV8AQxDp9K01KoH3Skb3V8zhBW5LTelAOiFqvxF8qM+Yj1C3PP+kccQv0EvdI4zow EPhTZ56GSoMLm4yHS+My0mvQ14S4IV50bndPNRxDUmjddmnkYjWHBzlFEUVFmj9JPG TY90A8TAUcTvcyiY8xAFtRDmwX6Xpr3V/wv/a8ImvgFsA6IkmGd4D8VlNdUXaV5E0M 9BanHS4Kch5Zw== From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Jean Delvare , Guenter Roeck Cc: linux-kernel@vger.kernel.org, Ben Dooks , Simtec Linux Team , Arnd Bergmann , linux-hwmon@vger.kernel.org Subject: [PATCH 08/21] hwmon: remove s3c driver Date: Fri, 21 Oct 2022 22:27:41 +0200 Message-Id: <20221021203329.4143397-8-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20221021202254.4142411-1-arnd@kernel.org> References: <20221021202254.4142411-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221021_134307_680901_A1420A99 X-CRM114-Status: GOOD ( 15.59 ) 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 s3c adc driver was removed along with the s3c24xx platform, so the hwmon driver is orphaned and can be removed. Signed-off-by: Arnd Bergmann Acked-by: Guenter Roeck Reviewed-by: Krzysztof Kozlowski --- drivers/hwmon/Kconfig | 17 -- drivers/hwmon/Makefile | 1 - drivers/hwmon/s3c-hwmon.c | 379 -------------------------------------- 3 files changed, 397 deletions(-) delete mode 100644 drivers/hwmon/s3c-hwmon.c diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 7ac3daaf59ce..c98a068b5be2 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1729,23 +1729,6 @@ config SENSORS_SHTC1 This driver can also be built as a module. If so, the module will be called shtc1. -config SENSORS_S3C - tristate "Samsung built-in ADC" - depends on S3C_ADC - help - If you say yes here you get support for the on-board ADCs of - the Samsung S3C24XX, S3C64XX and other series of SoC - - This driver can also be built as a module. If so, the module - will be called s3c-hwmon. - -config SENSORS_S3C_RAW - bool "Include raw channel attributes in sysfs" - depends on SENSORS_S3C - help - Say Y here if you want to include raw copies of all the ADC - channels in sysfs. - config SENSORS_SIS5595 tristate "Silicon Integrated Systems Corp. SiS5595" depends on PCI diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index 11d076cad8a2..b5a401ce3285 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -173,7 +173,6 @@ obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o obj-$(CONFIG_SENSORS_POWR1220) += powr1220.o obj-$(CONFIG_SENSORS_PWM_FAN) += pwm-fan.o obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON) += raspberrypi-hwmon.o -obj-$(CONFIG_SENSORS_S3C) += s3c-hwmon.o obj-$(CONFIG_SENSORS_SBTSI) += sbtsi_temp.o obj-$(CONFIG_SENSORS_SBRMI) += sbrmi.o obj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c deleted file mode 100644 index 70ae665db477..000000000000