Message ID | 20221021203329.4143397-8-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp895737wrr; Fri, 21 Oct 2022 13:50:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71fEimo+hxZ5CrA2MNikc099GqwXMqnXqTKU35H+u6i1cTMEWTCoXUgdTAUcjQPqrglpCG X-Received: by 2002:a17:903:509:b0:179:ffcf:d275 with SMTP id jn9-20020a170903050900b00179ffcfd275mr21095049plb.150.1666385444550; Fri, 21 Oct 2022 13:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666385444; cv=none; d=google.com; s=arc-20160816; b=zGOH/HkmWuRuc1GBmLwtkZ1KLTrNOSTrz3kZVBdUBDmcLaT+cfJxwrFxigW+OXaHWg zaIiXvQQAXQcVzMBCsR6fB+amUCYegb5POI84SOul0dAkAgTdx1B7bhQcPOvI33UBl4v oGAChFPf/yiXd/HTETCTBmKdmSpY0EFmD0J1jpMNENEE9AUhnLIAcWO3ETw3Ixf6ngFy orG2bqBBLmOGj1ojlJGeIKVkSsxyK+4kYqDEYSRInmbEAhsIq65u3Ly3R/0PkSncK2DH FwJ9Fvm4X+WfWMLmZfwnkUq9VN/NE3VLpaACMkhcy4hqo+k3YeAjzHvgH1vBJJ1IlxR8 UG6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YPkPZXl7TnmkMpEUEQdaax8cGUOE9qQmRM3VLQ8PP8Q=; b=fHNBGBVyxFmnd0EWVQpCn4yCo/Ofp5+swyjp3LBQecXbvtiWkUovU13KxR5ZG4d223 jK9y5hQInyyxInBixVgB+/OicmpTRGDRWKuvUUC+MGHggdgWl6t/i/1+24Sz6vReUQH9 dSzKkkRfBdU4UUXjMpQB8pBb3Ut+QX3QdWjF/asN9elD0P19YG8fn/kT74Ipttx0C8LZ t7lUxiivXTZTU7LWNV5aQrRF084H4Jfaoa8SmtcihJpleXqwHyiwTIkUS+C0HtZ67fP0 4QHXm32Bvn/ZMM3YJiY3JiAna3T+Nrtu5bsq9GzQkw2ZG0WNilmH+3EEVF32tScpv4u6 +0og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eesCGvG7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a056a000ccd00b00551fcfe090fsi26209419pfv.340.2022.10.21.13.50.32; Fri, 21 Oct 2022 13:50:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eesCGvG7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbiJUUsj (ORCPT <rfc822;mntrajkot1@gmail.com> + 99 others); Fri, 21 Oct 2022 16:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbiJUUsR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 16:48:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 102582A1FD8; Fri, 21 Oct 2022 13:48:10 -0700 (PDT) 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 01A43B80C82; Fri, 21 Oct 2022 20:43:08 +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 <arnd@kernel.org> To: linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net> Cc: linux-kernel@vger.kernel.org, Ben Dooks <ben-linux@fluff.org>, Simtec Linux Team <linux@simtec.co.uk>, Arnd Bergmann <arnd@arndb.de>, 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747331784038675327?= X-GMAIL-MSGID: =?utf-8?q?1747331784038675327?= |
Series |
ARM: s3c: clean out obsolete platforms
|
|
Commit Message
Arnd Bergmann
Oct. 21, 2022, 8:27 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> 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 <arnd@arndb.de> --- 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
Comments
On 10/21/22 13:27, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > 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 <arnd@arndb.de> Acked-by: Guenter Roeck <linux@roeck-us.net> I assume you plan to push the series together. If not, please let me know. Guenter > --- > 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
On Sat, Oct 22, 2022, at 06:02, Guenter Roeck wrote: > On 10/21/22 13:27, Arnd Bergmann wrote: >> From: Arnd Bergmann <arnd@arndb.de> >> >> 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 <arnd@arndb.de> > > Acked-by: Guenter Roeck <linux@roeck-us.net> > > I assume you plan to push the series together. If not, please let me know. Yes. I plan to pick up all the patches from the series through the soc tree that have not been NaK'd or applied to subsystem maintainer trees. Arnd
On 21/10/2022 16:27, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > 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 <arnd@arndb.de> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
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