Re: [PATCH] Minor change to platform_device_register_simple prototype

Russell King
2005-12-07T09:24:55Z

On Wed, Dec 07, 2005 at 07:50:32AM +0100, Jean Delvare wrote:
> 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.

It is in mainline already - see

http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=37c12e7497b6fe2b6a890814f0ff4edce696d862

where you'll find an example usage in the commit comments.

Thanks.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core