Re: Is platform_device_register_simple() deprecated?
From: Greg KH
Date: Wed Apr 12 2006 - 19:31:35 EST
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.
thanks,
greg k-h
-
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/