[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d120d5000704021316o7e30d51ej3f4a749ce5a49b5a@mail.gmail.com>
Date: Mon, 2 Apr 2007 16:16:03 -0400
From: "Dmitry Torokhov" <dmitry.torokhov@...il.com>
To: "David Brownell" <david-b@...bell.net>
Cc: "Greg KH" <gregkh@...e.de>,
"Linux Kernel list" <linux-kernel@...r.kernel.org>,
"Andres Salomon" <dilinger@...ian.org>
Subject: Re: [patch 2.6.21-rc5-git 2/2] update Documentation/driver-model/platform.txt
On 3/31/07, David Brownell <david-b@...bell.net> wrote:
> +A better solution is usually:
> +
> + struct platform_device *platform_device_register_simple(
> + char *name, unsigned id,
> + struct resource *res, unsigned nres);
> +
> +You can use platform_device_register_simple() as a one-step call to allocate
> +and register a device.
DIdn't Russell want to convert eberything to platform_device_alloc and
then nuke platfrom_device_register_simple()?
--
Dmitry
-
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