From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965639AbbJ1Nls (ORCPT ); Wed, 28 Oct 2015 09:41:48 -0400 Received: from skprod3.natinst.com ([130.164.80.24]:41984 "EHLO ni.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751023AbbJ1Nlr (ORCPT ); Wed, 28 Oct 2015 09:41:47 -0400 From: Nathan Sullivan To: gregkh@linuxfoundation.org, balbi@ti.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Sullivan Subject: [PATCH V3] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Date: Wed, 28 Oct 2015 08:41:41 -0500 Message-Id: <1446039701-8695-1-git-send-email-nathan.sullivan@ni.com> X-Mailer: git-send-email 1.7.10.4 X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/28/2015 08:41:45 AM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/28/2015 08:41:45 AM, Serialize complete at 10/28/2015 08:41:45 AM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-10-28_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The USB OTG support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency. Remove the unneeded "default n" from USB_OTG as well, the default is already n. Tested on Bay Trail hardware with dwc3 USB. Signed-off-by: Nathan Sullivan --- drivers/usb/core/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index a99c89e..567454f 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -43,8 +43,6 @@ config USB_DYNAMIC_MINORS config USB_OTG bool "OTG support" - depends on PM - default n help The most notable feature of USB OTG is support for a "Dual-Role" device, which can act as either a device -- 1.7.10.4