Re: [patch 2.6.21-rc5-git 2/2] update Documentation/driver-model/platform.txt

From: Dmitry Torokhov
Date: Mon Apr 02 2007 - 16:16:25 EST


On 3/31/07, David Brownell <david-b@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/