[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100715210936.GB6773@n2100.arm.linux.org.uk>
Date: Thu, 15 Jul 2010 22:09:36 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Greg KH <gregkh@...e.de>
Cc: Conke Hu <conke.hu@...il.com>, CoffBeta <coffbeta@...il.com>,
David Brownell <dbrownell@...rs.sourceforge.net>,
inux kernel <linux-kernel@...r.kernel.org>,
ext-jani.1.nikula@...ia.com,
Uwe Kleine-K?nig <u.kleine-koenig@...gutronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: tq 2440
On Thu, Jul 15, 2010 at 01:51:53PM -0700, Greg KH wrote:
> On Thu, Jul 15, 2010 at 06:33:22PM +0100, Russell King - ARM Linux wrote:
> > Another way to avoid the other complaints is to remove
> > the unregistration in platform_register_devices().
>
> No, because you could have created a platform device with a call to
> platform_device_alloc() and then called platform_device_register() and
> then later, platform_device_unregister(), right?
No. Sorry, platform_register_devices should've been platform_add_devices().
Please look at that function.
It's used to register an array of static platform devices from architecture
code, as I've said in this thread once already.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists