From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755289Ab0JSQZT (ORCPT ); Tue, 19 Oct 2010 12:25:19 -0400 Received: from kroah.org ([198.145.64.141]:35059 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754765Ab0JSQZS (ORCPT ); Tue, 19 Oct 2010 12:25:18 -0400 Date: Tue, 19 Oct 2010 09:23:48 -0700 From: Greg KH To: Anand Gadiyar Cc: Felipe Contreras , linux-usb@vger.kernel.org, linux-omap , linux-main , Felipe Balbi , Tony Lindgren Subject: Re: [PATCH v2 3/3] drivers: cleanup Kconfig stuff Message-ID: <20101019162348.GA28899@kroah.com> References: <1287482608-11320-1-git-send-email-felipe.contreras@gmail.com> <1287482608-11320-4-git-send-email-felipe.contreras@gmail.com> <20101019155219.GI4589@kroah.com> <4CBDC361.70507@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CBDC361.70507@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 19, 2010 at 09:42:17PM +0530, Anand Gadiyar wrote: > On 10/19/2010 9:22 PM, Greg KH wrote: > >On Tue, Oct 19, 2010 at 01:03:28PM +0300, Felipe Contreras wrote: > >>Add missing dependencies, and remove redundant ones, and select sensible > >>defaults. > >> > >>Signed-off-by: Felipe Contreras > >>--- > >> drivers/mfd/Kconfig | 3 ++- > >> drivers/regulator/Kconfig | 1 + > >> drivers/usb/gadget/Kconfig | 3 +-- > >> drivers/usb/musb/Kconfig | 6 ++---- > >> drivers/usb/otg/Kconfig | 2 ++ > >> 5 files changed, 8 insertions(+), 7 deletions(-) > >> > >>diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > >>index db51ea1..0bbaf01 100644 > >>--- a/drivers/mfd/Kconfig > >>+++ b/drivers/mfd/Kconfig > >>@@ -156,6 +156,7 @@ config MENELAUS > >> config TWL4030_CORE > >> bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support" > >> depends on I2C=y&& GENERIC_HARDIRQS > >>+ default y if ARCH_OMAP3 || ARCH_OMAP4 > > > >Sorry, but unless the driver is somehow required to keep the board from > >going up in a puff of smoke, a default should NEVER be y. > > > >Because of that, I can't take this patch. > > > > This is the driver for the Power-management IC on the board. Without > this IC being correctly configured, I'm guessing a lot of things > will fail. Not so sure if anything will go up in smoke (sounds > unlikely), or if the kernel will fail to boot - I'll check quickly - > but for this one specific instance, I think it's reasonable to > accept a default y. Sorry, but no, I'm not going to take it for the reasons stated above. > Kevin/Tony can probably confirm. > > Greg, > > For other instances of unnecessary "default y", do you think they > should be removed? I wouldn't worry about trivial things like that, the damage is already done. thanks, greg k-h