Re: [PATCH] Minor change to platform_device_register_simpleprototype

From: Jean Delvare
Date: Wed Dec 07 2005 - 01:58:28 EST


Hi Russell,

> On Mon, Dec 05, 2005 at 09:23:37PM +0100, Jean Delvare wrote:
> > The name parameter of platform_device_register_simple should be of
> > type const char * instead of char *, as we simply pass it to
> > platform_device_alloc, where it has type const char *.
> >
> > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
>
> Acked-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
>
> However, I've been wondering whether we want to keep this "simple"
> interface around long-term given that we now have a more flexible
> platform device allocation interface - I don't particularly like
> having superfluous interfaces for folk to get confused with.

What is the new preferred interface? Is it already in mainline or only
in -mm? I am writing a new platform driver, and am using
platform_device_interface_simple for now. It works just fine, but if
it is going to be deprecated soon, I better update my driver before I
submit it for inclusion.

Thanks,
--
Jean Delvare
-
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/