public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Andi Shyti <andi.shyti@samsung.com>,
	Michael Hennerich <michael.hennerich@analog.com>,
	Jelle van der Waa <jelle@vdwaa.nl>,
	Marcus Folkesson <marcus.folkesson@gmail.com>,
	Anthony Kim <anthony.kim@hideep.com>,
	hns@goldelico.com, Randy Dunlap <rdunlap@infradead.org>,
	Ksenija Stanojevic <ksenija.stanojevic@gmail.com>,
	Martin Kepplinger <martink@posteo.de>,
	Robert Jarzmik <robert.jarzmik@free.fr>
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	[thread overview]
Message-ID: <20180117214022.1380-1-marcus.folkesson@gmail.com> (raw)

A driver should not enable an entire subsystem.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
 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)
-- 
2.15.1

                 reply	other threads:[~2018-01-17 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180117214022.1380-1-marcus.folkesson@gmail.com \
    --to=marcus.folkesson@gmail.com \
    --cc=andi.shyti@samsung.com \
    --cc=anthony.kim@hideep.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hns@goldelico.com \
    --cc=jelle@vdwaa.nl \
    --cc=ksenija.stanojevic@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martink@posteo.de \
    --cc=michael.hennerich@analog.com \
    --cc=rdunlap@infradead.org \
    --cc=robert.jarzmik@free.fr \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox