From patchwork Wed Jan 17 21:35:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10172019 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 37F72603ED for ; Wed, 17 Jan 2018 21:35:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DD202040D for ; Wed, 17 Jan 2018 21:35:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30EA320564; Wed, 17 Jan 2018 21:35:50 +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 CCDAD2040D for ; Wed, 17 Jan 2018 21:35:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667AbeAQVfs (ORCPT ); Wed, 17 Jan 2018 16:35:48 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:41339 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752250AbeAQVfr (ORCPT ); Wed, 17 Jan 2018 16:35:47 -0500 Received: by mail-lf0-f67.google.com with SMTP id f136so2393963lff.8; Wed, 17 Jan 2018 13:35:46 -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=HEIOD25nEMr74VmuUHPmdNEvs/8sMfpfT/DIqJaNwE4=; b=CZU7+a6JR7rLmthdPo/0lnOLn3ponqBVyk0z1AyhSjil8Tv9no6h/RH2fuuH/iU7Ha REoLdW9/kPoFMFcM+IBqhPy2sOeD/WJC0C+4QqXK/L4oqNu+dui9LM+okCG+ZRqRdzZC QkZn6LLwphS2mi5RXvoEUfG45vNXBeY8hGxen3VBCTF9C35YQNuZCkf9IFq8m5DOxMb+ F3BWdHkCWxZkD6SJdVKbu/AnNgxxuLnhStD4DQshCoOJ3ByqGvCyJfdEvvWsdBgA06X1 vPC4MvT7QhiX5YO3U1MP4g5EaU9+IcLYgJ5FryGhjO8+YospFGByqzd2uyF/YR7ZkXIU GY0w== 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=HEIOD25nEMr74VmuUHPmdNEvs/8sMfpfT/DIqJaNwE4=; b=iHL4dTg+GOO3IHkaD9SdZiG6r0K1KaH7nELT4eHJeap7ga32fK85y6WJAiVNKw6x+b xJuHtXliAkELy/+GehVsW/1QeMRovJFJFrfQQKMuDY0qXtztZATjkChrOZyXgdEXFlXE ppqeeY54/J/M1/bg8EEsV7MMthVv2QymBxHWfkDK3gsbf2rlBeQuBOG5OSqZ9sQusowy 8yqkfjDKlpK5c1n+F8K3lrdODuPWyEjwZSzlIrvUCyb/jjn8ZRnOqknGa8QWITpQi3GP uskkx624sFMN/FAZKhLKbwdL+NgUnTKcsGQXCQfkHS6CZAYsBAnqFEK/HDpOpp6EbpF0 akLA== X-Gm-Message-State: AKGB3mLlXDzHRokougKrzpvPxV2mcYV0y/6SZYhYcizKlsW/jlsRPtCC 0mPdmlWQU/wOYS8DhOSHXII= X-Google-Smtp-Source: ACJfBosMl0TBDe3Ni8AcNNq0xQLYs4bnSrMmFmk4IPLgUuyz7zF7fgxPjnghrMVlTBXKX7QgRtlXjg== X-Received: by 10.46.22.71 with SMTP id 7mr25466731ljw.21.1516224946058; Wed, 17 Jan 2018 13:35:46 -0800 (PST) Received: from localhost.localdomain (c-2ec2e669-74736162.cust.telenor.se. [46.194.230.105]) by smtp.gmail.com with ESMTPSA id b194sm930590lfg.22.2018.01.17.13.35.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 13:35:45 -0800 (PST) From: Marcus Folkesson To: Dmitry Torokhov , Benjamin Tissoires , Marcus Folkesson Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] input: mouse: make USB drivers depend on USB Date: Wed, 17 Jan 2018 22:35:35 +0100 Message-Id: <20180117213535.1102-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/mouse/Kconfig | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 89ebb8f39fee..38aed9b0bcb8 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig @@ -202,8 +202,7 @@ config MOUSE_SERIAL config MOUSE_APPLETOUCH tristate "Apple USB Touchpad support" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use an Apple USB Touchpad. @@ -223,8 +222,7 @@ config MOUSE_APPLETOUCH config MOUSE_BCM5974 tristate "Apple USB BCM5974 Multitouch trackpad support" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you have an Apple USB BCM5974 Multitouch trackpad. @@ -418,8 +416,7 @@ config MOUSE_SYNAPTICS_I2C config MOUSE_SYNAPTICS_USB tristate "Synaptics USB device support" - depends on USB_ARCH_HAS_HCD - select USB + depends on USB help Say Y here if you want to use a Synaptics USB touchpad or pointing stick.