From patchwork Wed Jan 17 21:36:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10172023 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 A6323603ED for ; Wed, 17 Jan 2018 21:37:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95F61223A0 for ; Wed, 17 Jan 2018 21:37:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89796237F1; Wed, 17 Jan 2018 21:37:02 +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 28838223A0 for ; Wed, 17 Jan 2018 21:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753167AbeAQVhB (ORCPT ); Wed, 17 Jan 2018 16:37:01 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:40557 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753166AbeAQVhA (ORCPT ); Wed, 17 Jan 2018 16:37:00 -0500 Received: by mail-lf0-f68.google.com with SMTP id h92so13526621lfi.7; Wed, 17 Jan 2018 13:36:59 -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=DpnO1VYwKMy9hjbSBQhyblX9KHiuJPOjtMv5JiFre9c=; b=Myx3Q+HTjkUt2EBNx8EpgJP1zgk1fAWymTDOz6l1Ps58A+6ALP3N8V0ymdkjTkxbVw uksY4n10jxngTVpbF6HMYOAuTTNgm5gRV0tGHf0gBVZTssgViPT/b1BwBCS7JRixFVvF 13ZWVA68szvL8Xlp6Hn78gUGmqloSABjPZ/v4scS9xHyFUpUoD6jwZzOeFgagWO7kIqw xHA5u6J+le6/vk/Z8Z3Eg+C/lY5P2MF6aGOMOE27Nw9y/RKMzZphiGkYSYYG4B85F/jV etYxaezeCNyDsq/6PYxjnvqmAouTwEhDUSYKsr34wg+kx5n14XlT4+Wrka4zDM8y8Ndo pEZQ== 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=DpnO1VYwKMy9hjbSBQhyblX9KHiuJPOjtMv5JiFre9c=; b=dkwjGmIZCVBKsXTtgl+/gxnTwihggenhLltiOULUCKdZWz7+pHOOgoEpy09UziRXhg PDfpuy05ICx07eraSW2IiQuBB/j0P0R+x8BJ6TEeRBL2qgSlhmksFWHU9cC4T605V8XD CPKdBK+ul1NDsnVKv/PPZcIMJ9mu27jB18HaFRZo0CRfZU8URGN0Pe9NSByYBX8BmDyv QRLLUjNFbZfAnN/QunRahePW1wBnLxDW4BSQ1eDYCzc7E8mxz8kN04us7nwiBC1ijmUy K81SPq1YDUjKupRYJ8DEOtYQvHhWGl6ZQ2O41Tpu6lnMxCw3bbe5krqobUKBI82BQ9Ij QHFw== X-Gm-Message-State: AKwxytcaEi/p8pCWgo3ij6vaoKezheqnFcmgl7cxE6gu0Ei43gIQQjc7 moCKkw/n84nMVJKANpAlab4Qg89p X-Google-Smtp-Source: ACJfBov2YcF4nJAEeZb8tlTQ0eeYbOIOswp5fdSYUBqac0KDwK4jvFIvlxh2KvowxFTHkvy/yxEnTw== X-Received: by 10.25.169.5 with SMTP id s5mr6482158lfe.116.1516225018924; Wed, 17 Jan 2018 13:36:58 -0800 (PST) Received: from localhost.localdomain (c-2ec2e669-74736162.cust.telenor.se. [46.194.230.105]) by smtp.gmail.com with ESMTPSA id a69sm205413ljf.92.2018.01.17.13.36.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 13:36:57 -0800 (PST) From: Marcus Folkesson To: Dmitry Torokhov , Marcus Folkesson Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] input: tablet: make USB drivers depend on USB Date: Wed, 17 Jan 2018 22:36:45 +0100 Message-Id: <20180117213645.1233-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/tablet/Kconfig | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/input/tablet/Kconfig b/drivers/input/tablet/Kconfig index a2b9f97422ce..379f40858709 100644 --- a/drivers/input/tablet/Kconfig +++ b/drivers/input/tablet/Kconfig @@ -13,8 +13,7 @@ if INPUT_TABLET config TABLET_USB_ACECAD tristate "Acecad Flair tablet support (USB)" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use the USB version of the Acecad Flair tablet. Make sure to say Y to "Mouse support" @@ -26,8 +25,7 @@ config TABLET_USB_ACECAD config TABLET_USB_AIPTEK tristate "Aiptek 6000U/8000U and Genius G_PEN tablet support (USB)" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use the USB version of the Aiptek 6000U, Aiptek 8000U or Genius G-PEN 560 tablet. Make sure to say Y to @@ -51,8 +49,7 @@ config TABLET_USB_GTCO config TABLET_USB_HANWANG tristate "Hanwang Art Master III tablet support (USB)" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use the USB version of the Hanwang Art Master III tablet. @@ -62,8 +59,7 @@ config TABLET_USB_HANWANG config TABLET_USB_KBTAB tristate "KB Gear JamStudio tablet support (USB)" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use the USB version of the KB Gear JamStudio tablet. Make sure to say Y to "Mouse support" @@ -75,8 +71,7 @@ config TABLET_USB_KBTAB config TABLET_USB_PEGASUS tristate "Pegasus Mobile Notetaker Pen input tablet support" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use the Pegasus Mobile Notetaker, also known as: