Re: Is platform_device_register_simple() deprecated?

From: Kumar Gala
Date: Thu Apr 13 2006 - 14:32:48 EST



On Apr 12, 2006, at 6:30 PM, Greg KH wrote:

On Wed, Apr 12, 2006 at 06:09:48PM -0500, Kumar Gala wrote:

On Apr 12, 2006, at 4:41 PM, Greg KH wrote:

On Wed, Apr 12, 2006 at 07:50:37PM +0200, Rene Herman wrote:
Hi Greg, Russel, Dmitry.

ALSA is using platform_device_register_simple(). Jean Delvare
pointed:

http://marc.theaimsgroup.com/?l=linux-kernel&m=113398060508534&w=2

out, where _simple looks to be slated for removal. Is this indeed the
case? ALSA isn't using the resources -- doing a manual alloc/add
would
not be a problem...

Great, care to convert ALSA to use the proper api so we can remove
platform_device_register_simple()?

Can we mark this deprecated and add it to feature-removal- schedule.txt.

Sure, I'll take a patch for that. But really, it's just easier to fix
up all callers and delete the function. It isn't anything that
feature-removal-schedule.txt should care about, as it's just the normal
API changes we do all the time.


Well, it is an exported interface so I figured that fit in the same category as removing the export of insert_resource.

But, I'm not too concerned one way or the other about it.

- k
-
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/