[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070402215900.GA22728@flint.arm.linux.org.uk>
Date: Mon, 2 Apr 2007 22:59:00 +0100
From: Russell King <rmk+lkml@....linux.org.uk>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: David Brownell <david-b@...bell.net>, 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 Mon, Apr 02, 2007 at 04:16:03PM -0400, Dmitry Torokhov wrote:
> 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()?
That was my long term plan - since I don't like APIs which "grow" lots
of different and redundant interfaces.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
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