From patchwork Mon Oct 16 22:16:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 115994 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4172010qgn; Mon, 16 Oct 2017 15:16:38 -0700 (PDT) X-Received: by 10.98.46.69 with SMTP id u66mr9700339pfu.288.1508192198784; Mon, 16 Oct 2017 15:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508192198; cv=none; d=google.com; s=arc-20160816; b=No2f58xJMzEstb3JdPzyVFIg8YPqGydyIQFTp14mpvS9tDKD7ojpi2vCxxNQMDI7dJ 97o0vEt53h9ru2SsDxbX0MXsIMVyd55N7Vd5BYDmoaO7a/Z8KRnH+h+EYpLhlYZubPVL uQ6QqAtCQUBVjKFC8IQwc845CrlFAuMgI/ZtNa9UVbKDF2OfjPoOaTMvzQcJbtD3clFp lIUin62H3xDI4UO06Bj74dM/dZtMEyQgOYXFeY+LD+t0F8JmeZ4zDCB1BvE0GecxzmLn fGdY1IFK38CqjEaqXY4DBzCxIABNcAHpAul1wFxDqv5ZxC0CFhvo/nHbd3yQIizq//vR q60g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7fl9hsmCTCaKW2fI7sTcNe390y8uMh8Pv98TMGnsu68=; b=n89FkCDgyye33vZrnD6Bcdbb3u5eOynzUhAUkiQFAwqHOhg716WoE9x5JigbHGULed rFoakgYkFNUi4FIfYZZZzGsxcNnOpcerOqKQjkmucfNyQ6hPRYzlO4g9OrsybhqGqXsx wOOLp7v1XMAZOoE5oyu4zPe6NeOENBZxlNQLInM8f/3u1yESJaDtBa6mMSVB6F6m2kaf OeWlwWXMqZ2BeMo0rpB/BAur8UT/c85ZbdBIjP4fO8MTeUCxw8X95Um8f8MATfxfI6LF ZQIf3mZ1As5GRv+AnvIDVwV9BS3nodr/wYY2mQocWf8BZKEVvz0Roa+vrC3njggGwRFW 7j0Q== 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 k63si1680127pgc.659.2017.10.16.15.16.38; Mon, 16 Oct 2017 15:16:38 -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 S932452AbdJPWQg (ORCPT + 27 others); Mon, 16 Oct 2017 18:16:36 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:47272 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932428AbdJPWQf (ORCPT ); Mon, 16 Oct 2017 18:16:35 -0400 Received: by mail-oi0-f67.google.com with SMTP id h200so27916576oib.4 for ; Mon, 16 Oct 2017 15:16:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7fl9hsmCTCaKW2fI7sTcNe390y8uMh8Pv98TMGnsu68=; b=oO0rn2elSvvzCzg74Ga7QEn6c/oZOi7G4E/Fmas2ZLiBXDPlg8hbHe81mlg8w5iuZB k2UqIFKu9wC49Hw79RKZMoK6Ez8mKdD+9RB363zb6/5mVqRcNoJ0CC30zQ0nOAQK4Nvf c09rdPVrccR83PiMJakzLj4QqS8dRxNJ+wxQwdVBFTAD/zB9OQWRkoXy6JXbIs+FtEke 2Kxn3rShge+1sxtf7td3pQdjoTdDCp/SyiLwWwqlb0yZScGNLjXX38hQq0JdRTDdkZmO VXl7dKvMSgkBoMkOOF2zcx6XBQK3ktKWEurLYK7K3mmMcT1jx51C9Sy41ukIO6tJsrhh 8UHA== X-Gm-Message-State: AMCzsaWDHk81lov2uTWOs0HY2MNhkQ3iJv8edQqQXgGVj5Fp0vX3fCa4 dt37h3EnjNYV9Jd0To3397hQt6o= X-Google-Smtp-Source: ABhQp+TEzr5mXvjz5YFd+KYG3tv65dqvv00fN5A1XuzVIi1Ls0LuKa2BpX1KhQuyKnBLOp5AxsIpOQ== X-Received: by 10.157.40.37 with SMTP id m34mr1135470otb.91.1508192194239; Mon, 16 Oct 2017 15:16:34 -0700 (PDT) Received: from localhost.localdomain (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id v3sm4631179otd.15.2017.10.16.15.16.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 15:16:33 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Jeff Dike , Richard Weinberger , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, linux-mtd@lists.infradead.org Subject: [PATCH] kconfig: kill off GENERIC_IO option Date: Mon, 16 Oct 2017 17:16:31 -0500 Message-Id: <20171016221631.23472-1-robh@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GENERIC_IO option is set for every architecture except tile and score as those define NO_IOMEM. The option only controls visibility of CONFIG_MTD which doesn't appear to be necessary for any reason, so let's just remove GENERIC_IO. Signed-off-by: Rob Herring Cc: Jeff Dike Cc: Richard Weinberger Cc: David Woodhouse Cc: Brian Norris Cc: Boris Brezillon Cc: Marek Vasut Cc: Cyrille Pitchen Cc: user-mode-linux-devel@lists.sourceforge.net Cc: user-mode-linux-user@lists.sourceforge.net Cc: linux-mtd@lists.infradead.org --- arch/um/Kconfig.common | 1 - drivers/mtd/Kconfig | 1 - lib/Kconfig | 4 ---- 3 files changed, 6 deletions(-) -- 2.11.0 Acked-by: Richard Weinberger Acked-by: Boris Brezillon diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index 85f6dd204ab6..5514ec52108f 100644 --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.common @@ -9,7 +9,6 @@ config UML select HAVE_DEBUG_KMEMLEAK select GENERIC_IRQ_SHOW select GENERIC_CPU_DEVICES - select GENERIC_IO select GENERIC_CLOCKEVENTS select HAVE_GCC_PLUGINS select TTY # Needed for line.c diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 5a2d71729b9a..2a8ac6829d42 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -1,6 +1,5 @@ menuconfig MTD tristate "Memory Technology Device (MTD) support" - depends on GENERIC_IO help Memory Technology Devices are flash, RAM and similar chips, often used for solid state file systems on embedded devices. This option diff --git a/lib/Kconfig b/lib/Kconfig index b1445b22a6de..994fa37a1d96 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -46,10 +46,6 @@ config GENERIC_IOMAP bool select GENERIC_PCI_IOMAP -config GENERIC_IO - bool - default n - config STMP_DEVICE bool