From patchwork Wed Mar 14 15:35:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 131611 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1023731ljb; Wed, 14 Mar 2018 08:40:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELvkzXSIFTUgSLUESSnNyLf5DdY9DQUnOmQaaaSH7yzIciBYwYzOc37DJqPhHCmtCHyohLeD X-Received: by 2002:a17:902:6943:: with SMTP id k3-v6mr4506520plt.214.1521042017946; Wed, 14 Mar 2018 08:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521042017; cv=none; d=google.com; s=arc-20160816; b=oPZY1rUmZMwaXygB6QkZWTnRmIKF52AFFSYeI/b+JXhsJPq8eD1/MvHL7tpAw+V+oj le466xaig9RyyYsoG/pc9PE19My4s58+Aha+MUjckBCrVdyja9GuBC1XpTY3LuhsVmkW usZRAT9U7rmFWt2JP07JEbJvYetcBqAH2LM6x9+HDcBRHU0lRY6K5fAJVPwG705diNgd SwImjZUBNtDF7WOcJ1He6zV3wdlwfzWXdeY3ptlbQOqB19Ukq7j7lO8opUujpT4zA1cl PewFn2E2t1pSGFVAibny2SBBYckbMChs5ehIBhtuFBro/gr0HbteOdS2dYLnp1QOmOH8 xrdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=6bWWGXkv+24lZ/1LijfLYA85O2ePLUE77YFsr79LXUg=; b=l1IZQ8y/UnWwHKYZYN0ASnLtbNHLfQOhz4HPX5AhjdXrsar4D7W7eosTpu3XjDTW1L FD7ceZf7DBZIgu/4DRQj1MNqheeZW+TIMJOaqfJE3FlyI6V6/mKddc5Q0VA5F+ZKOKw2 ummX+TowpJjTlGX6cDVo0nseYc5WyOR3MTV4a1vnQ5EQkXpXMhcMxh50akwh0ehLx79v CQay1OwUAEFGo7Kcp+2K3m9ocu7nTLxCwkCFV3LIDk1WyH0l3Gj4sXty+yHUmW81bxSK e4Zg3aD2CqZm2ylpWqo2/S1qu4j7nkyD3maRXfsEsup+jrGDgrDWdtcknNIiCVA4JRX5 r+rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v75si2286129pfj.88.2018.03.14.08.40.17; Wed, 14 Mar 2018 08:40:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752270AbeCNPkP (ORCPT + 28 others); Wed, 14 Mar 2018 11:40:15 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:38249 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751456AbeCNPkL (ORCPT ); Wed, 14 Mar 2018 11:40:11 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Mep7w-1fFtLN3cr2-00OEcd; Wed, 14 Mar 2018 16:40:09 +0100 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH 10/47] char: remove obsolete ds1302 rtc driver Date: Wed, 14 Mar 2018 16:35:23 +0100 Message-Id: <20180314153603.3127932-11-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180314153603.3127932-1-arnd@arndb.de> References: <20180314153603.3127932-1-arnd@arndb.de> X-Provags-ID: V03:K0:2ejy10Bv4MfRKb2qvKKRY8o+wyE1HfORyTPSD/sLk/3ocPYKG9g 3Hv62hdwlw+MMQc3tDBTt8avQWix2fuW1zvVxQDMJwO2inynBZxISDOrBwFCTwe+2uZWKgf bonIHtaoUEC2twva94jpA52k6vWrbVpWY4t3jAzsDEU8e0fUT/pTR8u/JLfxGesGNkedJHY YKodfpKQPchUmaKyI+AEQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:18Z8rBBg2pc=:iOuAtibiJpUPWcpHqGjbJp wjeJF18qdzixv+XLfY7ODSAkD83K14MbserH4B2UnuZjx+IAhvO3BNzOp44sdoLXMdFjm5jpK sW/M/zWV7PYfYxlFkVGLDtb+Rk4QY0xnVvJBwd1Qm2Q6y6bYVwOib9+FOJJr3HtMLhF6zfQ4C fkzp010zajDwlMnANax0vpO5Lhx52dQflop5L5SQPAt+cM0Ev9MGqd6dljcvXxGUdmHpUNlQ/ 8gEmTQnrs6rF8Jj4TsI83vkAqr14u4f85AJu060ZF9s4BfGBraCFMGvFyyTYxk7ynJ3QRW80E i46u5ctxOoQxCOrYAjNT3typet1xVT1ysM1c2CJW7DfQjEd2ss/v2qj2v+Nu8X2pfKqPQ+UKJ tNZ2vFVSm9udgHj5NMggkbVdyo1TIbrU7IKX9E08T1nrcVtyJO/xseMTPtlE+53PwbVfPP9iZ qy/UK8K2IvmuF9MQwBhIwORRp8To7jhozD+QZ7EL6og0Sf8UjxUybKEgS673VdZg67z8yONjE 8N1jHDOIHSOzLeM3kFJguIrzlHw3EKr8XVU/Er0WQxfShoexV5kwW9PFdHtZF3HTQOKZ178zS zDx+CYnDgdKyVZ3sWs6jPOEnDlj6m6X9BgkrHxi+q9LmowC/izIW+/hX/FmCB5drJlt7twrPT XtEGs4z0WlLGQTneDmyA9pVBdH1e6u8WuEM8mf9zLH4CX/MeRfdqatLSYk8ZTl2G+gGghL/OD NKaBGGzWAvX0rVdZe1bvCQr2UvfAPDYJXrh5nw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The m32r architecture was the only user of the old-style rtc driver for ds1302. The architecture is getting removed now, and we have a modern driver for the same hardware in drivers/rtc/rtc-ds1302.c, so this one won't be missed. Signed-off-by: Arnd Bergmann --- drivers/char/Kconfig | 9 -- drivers/char/Makefile | 1 - drivers/char/ds1302.c | 357 -------------------------------------------------- 3 files changed, 367 deletions(-) delete mode 100644 drivers/char/ds1302.c diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c deleted file mode 100644 index 8e16ad5d6d89..000000000000 -- 2.9.0 Acked-by: Greg Kroah-Hartman diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index c28dca0c613d..3f9561186ad7 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -346,15 +346,6 @@ config EFI_RTC bool "EFI Real Time Clock Services" depends on IA64 -config DS1302 - tristate "DS1302 RTC support" - depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT) - help - If you say Y here and create a character special file /dev/rtc with - major number 121 and minor number 0 using mknod ("man mknod"), you - will get access to the real time clock (or hardware clock) built - into your computer. - endif # RTC_LIB config DTLK diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 7dc3abe66464..4a34a71fe3d7 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile @@ -26,7 +26,6 @@ obj-$(CONFIG_SONYPI) += sonypi.o obj-$(CONFIG_RTC) += rtc.o obj-$(CONFIG_HPET) += hpet.o obj-$(CONFIG_EFI_RTC) += efirtc.o -obj-$(CONFIG_DS1302) += ds1302.o obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/ ifeq ($(CONFIG_GENERIC_NVRAM),y) obj-$(CONFIG_NVRAM) += generic_nvram.o