From patchwork Wed Jan 17 21:40:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10172027 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 72F14603ED for ; Wed, 17 Jan 2018 21:41:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 638532861E for ; Wed, 17 Jan 2018 21:41:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61A51283AE; Wed, 17 Jan 2018 21:41:29 +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 4048C28623 for ; Wed, 17 Jan 2018 21:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752975AbeAQVkl (ORCPT ); Wed, 17 Jan 2018 16:40:41 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:37084 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752778AbeAQVkk (ORCPT ); Wed, 17 Jan 2018 16:40:40 -0500 Received: by mail-lf0-f65.google.com with SMTP id f3so23887088lfe.4; Wed, 17 Jan 2018 13:40:39 -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=UdMwQFNJTXwHagCQ8Cr3OEx+YOIt12kbsA3nyDB9nsA=; b=OVNUbpBv1g/p3XUOpbvTWaudxunlCE/NotO/2QznuK6hP0pz6aupF7ZoPo6uMkcUOn eZ7jl6WihixPf7kKCDniKcFlEp2kk6oDTOXLeLW3QMbOJ7yePU47oxjxMoZtlzatbaSr qWOMPPcqIRPzyToYXk9exgptTP49Fov0jMUlh5Rub1Iu7ZhHpxANuOhbi1S2Yi2kaHV7 gLM8xj0pTOCkNu7RjsUfhKfYWDha2CZ/+uYKCG3Pr0Sh/3s+HiIVAZ2/smCAqCajf4H0 aIXW7PVMA8L9kUQEVuxkFYvv++BomwUPxPtCaQm41UtPCF/7Sl8y7b0PBLwRg+Ew+32/ WCjQ== 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=UdMwQFNJTXwHagCQ8Cr3OEx+YOIt12kbsA3nyDB9nsA=; b=GHwjoBTre2E484drydBgkq2KW/NqrSFJ2nScEjm3ls73DS/tFtfV7fQgHYu0M+SBGp +KCr3Os9h1u0y96R4Jrd/LyXMBHUuJYdPTts9BVbTsb/99UM/whiec9X+vCivf5isFMC dWqjkXg+VVugny4W4w86juot0MchMOlTCg9hgZVEhvq6qnoGkQZ7IEP3RulIJP+dZJTf DuhfmkZ5K+EZvCISqoyYqzMO3txxB47tE4Vn91DmpRvVTU6yvApkdCLvgDw4CdjEd34W +qqqjJEGca6/nL8DhkikTyB/MVLVfhjsCOCc81LLN3PYvmb5YrUUm+udz+5WtzXhRHSP 1+eQ== X-Gm-Message-State: AKwxytfZYAut7/DNr9G380Xt9SrHA2v4ZP659LceawXnRqIkJim6C858 6SokrOI0GJVMlHEwss/l6Bw= X-Google-Smtp-Source: ACJfBosTmzUr9P2lDzITClFdYJZUTgsjR8DtwOJRLkqiCapjU0uZKwZSKbxp+4esHLFY7YIdJbxzXA== X-Received: by 10.25.78.155 with SMTP id u27mr20460164lfk.86.1516225238894; Wed, 17 Jan 2018 13:40:38 -0800 (PST) Received: from localhost.localdomain (c-2ec2e669-74736162.cust.telenor.se. [46.194.230.105]) by smtp.gmail.com with ESMTPSA id l187sm951960lfg.12.2018.01.17.13.40.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 13:40:37 -0800 (PST) From: Marcus Folkesson To: Dmitry Torokhov , Rob Herring , Andi Shyti , Michael Hennerich , Jelle van der Waa , Marcus Folkesson , Anthony Kim , hns@goldelico.com, Randy Dunlap , Ksenija Stanojevic , Martin Kepplinger , Robert Jarzmik Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] input: touchscreen: make USB drivers depend on USB Date: Wed, 17 Jan 2018 22:40:22 +0100 Message-Id: <20180117214022.1380-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/touchscreen/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 38a226f9fcbd..08d2c1434493 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -837,8 +837,7 @@ config TOUCHSCREEN_WM97XX_ZYLONITE config TOUCHSCREEN_USB_COMPOSITE tristate "USB Touchscreen Driver" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help USB Touchscreen driver for: - eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)