Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753912AbZGLIf2 (ORCPT ); Sun, 12 Jul 2009 04:35:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751830AbZGLIfR (ORCPT ); Sun, 12 Jul 2009 04:35:17 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:47043 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbZGLIfQ (ORCPT ); Sun, 12 Jul 2009 04:35:16 -0400 Date: Sun, 12 Jul 2009 10:35:10 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: David Brownell Cc: Greg KH , linux-kernel@vger.kernel.org, Philipp Zabel , Andrew Morton , Tony Lindgren , Russell King , Dmitry Baryshkov Subject: Re: [PATCH] move omap_udc's probe function to .devinit.text Message-ID: <20090712083510.GA24424@pengutronix.de> References: <20090711170548.GC5205@suse.de> <1247345591-22643-37-git-send-email-u.kleine-koenig@pengutronix.de> <1247345591-22643-38-git-send-email-u.kleine-koenig@pengutronix.de> <200907111530.44736.david-b@pacbell.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200907111530.44736.david-b@pacbell.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1310 Lines: 32 Hello David, On Sat, Jul 11, 2009 at 03:30:44PM -0700, David Brownell wrote: > On Saturday 11 July 2009, Uwe Kleine-K?nig wrote: > > An alternative to this patch is using platform_driver_probe instead of > > platform_driver_register plus removing the pointer to the probe function > > from the struct platform_driver. > > Repeat -- NAK on this. Use platform_driver_probe() instead. > > I really don't like this series of patches. It's just adding > bloat to kernels, in chunks of up to a page per patch. I'm aware that in some cases platform_driver_probe is better. But as I don't have access to most of the affected platforms I consider it saver. That's why I choosed this way. The problem with platform_driver_probe is that if a device is added only after the driver is probed the device isn't bound. So if you say you can test it, it's totally OK for me to go the other way. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/