From patchwork Wed Jan 17 21:33:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10172013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9AC44603ED for ; Wed, 17 Jan 2018 21:33:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CA86201F3 for ; Wed, 17 Jan 2018 21:33:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 815D923201; Wed, 17 Jan 2018 21:33:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24B22201F3 for ; Wed, 17 Jan 2018 21:33:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbeAQVdV (ORCPT ); Wed, 17 Jan 2018 16:33:21 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:43314 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446AbeAQVdU (ORCPT ); Wed, 17 Jan 2018 16:33:20 -0500 Received: by mail-lf0-f65.google.com with SMTP id o89so19727295lfg.10; Wed, 17 Jan 2018 13:33:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Ku8u+FlxbiLxolkd3YJwkY17sr/fYCwsb0xCq5Nw/dQ=; b=rrXSVLSuAVQf8GvwtUGbotnpx4rkfwj/Sw7TdY+i9p+HW0rtcQjHQIL1ZFhPU7xuQl tYONpwCRDOvgyC9QtNnfEaVjjHlCb7RIkZvWEgc50xqpi+pSWnXksFlt9/MTW+OvE7yz zuI4CQ1x+mu2AWPryVTvTkq+Z8psKuFCAPH5qKcwWf0xZfad1+bu7jDFpvsI+I9MueC5 3HE0uYR+pFsD09Q9iHadNKa42nDfXUsG3YqlDELHHPM0Ne0EUgdobpH13GWCIIkCOeX/ jo1x/z4jpMaoHFymBkqzDU4AZzUNgyyW6Fjz91xv7aELlC3t0iZin9OoKYuX75Q/frrJ Jb9A== 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=Ku8u+FlxbiLxolkd3YJwkY17sr/fYCwsb0xCq5Nw/dQ=; b=fbO3r0uN1cRgyhOKQJVKUH0Nrpnek6uxbINmG1fVBc2zF/MK4qXYuHzVO6Yy0N/Inz eJvCMT6pQK3PCFLmDuhmtOKqwS/w3jYGMchUc94ZsGrWGGwfHPzUmLUX9hwBFRSkYgFf waFX3lol2Dip7DU/6FeJihsXcxYqGtb3cT9Ljrk5t6OIoqbgANoEBOFILkXg/sTbcIUD ssxPQlsTeP7E33On9jrUowrYx6gIKGD5OjL5Vc/QCI+0rDR7hnKMQ4niHwZ8mbrXYk0y YXl6GR5r1RA8PJeu7OSZdKhQuM0d5SvsxJtpFZ6zC/8zfz1Hp+VPFQ0D/IJNAS+fbgwz ynVw== X-Gm-Message-State: AKwxytdIeXpbgjh/0+peRNiNL/19fYBqht4Wt8+5CYM10GfxKsRtQTVO PHegdX92VBRSf3Jf24UbwXM= X-Google-Smtp-Source: ACJfBovOn+x+iyXJ9DkresAEv1UmaS3LLxly5o/a5gcMGkMLNNVapUV686fh7ga9tIRzsjjRdIte0Q== X-Received: by 10.25.87.197 with SMTP id l188mr8117646lfb.10.1516224798710; Wed, 17 Jan 2018 13:33:18 -0800 (PST) Received: from localhost.localdomain (c-2ec2e669-74736162.cust.telenor.se. [46.194.230.105]) by smtp.gmail.com with ESMTPSA id i18sm1024099ljd.27.2018.01.17.13.33.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 13:33:17 -0800 (PST) From: Marcus Folkesson To: Dmitry Torokhov , Sebastian Reichel , Rob Herring , Linus Walleij , Damien Riegel , Marcus Folkesson , Joseph Chen Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] input: misc: make USB drivers depend on USB Date: Wed, 17 Jan 2018 22:33:05 +0100 Message-Id: <20180117213305.965-1-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.15.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A driver should not enable an entire subsystem. Signed-off-by: Marcus Folkesson --- drivers/input/misc/Kconfig | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 9f082a388388..dd04da910bc9 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig @@ -354,8 +354,7 @@ config INPUT_ATLAS_BTNS config INPUT_ATI_REMOTE2 tristate "ATI / Philips USB RF remote control" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use an ATI or Philips USB RF remote control. These are RF remotes with USB receivers. @@ -369,8 +368,7 @@ config INPUT_ATI_REMOTE2 config INPUT_KEYSPAN_REMOTE tristate "Keyspan DMR USB remote control" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use a Keyspan DMR USB remote control. Currently only the UIA-11 type of receiver has been tested. The tag @@ -401,8 +399,7 @@ config INPUT_KXTJ9_POLLED_MODE config INPUT_POWERMATE tristate "Griffin PowerMate and Contour Jog support" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use Griffin PowerMate or Contour Jog devices. These are aluminum dials which can measure clockwise and anticlockwise @@ -417,8 +414,7 @@ config INPUT_POWERMATE config INPUT_YEALINK tristate "Yealink usb-p1k voip phone" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to enable keyboard and LCD functions of the Yealink usb-p1k usb phones. The audio part is enabled by the generic @@ -432,8 +428,7 @@ config INPUT_YEALINK config INPUT_CM109 tristate "C-Media CM109 USB I/O Controller" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to enable keyboard and buzzer functions of the C-Media CM109 usb phones. The audio part is enabled by the generic