Re: [PATCH] Minor change to platform_device_register_simple prototype
From: Dmitry Torokhov
Date: Thu Dec 08 2005 - 16:05:58 EST
On 12/8/05, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> Hi Russell,
>
> > On Wed, Dec 07, 2005 at 03:06:15PM -0800, Greg KH wrote:
> > > Ok, that's fine with me. Russell, any objections?
> >
> > None what so ever - that's mostly what I envisioned with the patch
> > with the _del method. However, I didn't have an existing user for it.
>
> Do you mean you have the code already? If it is so, could you please
> provide a patch Dmitry and I can give a try to?
>
I have the patch (my version anyway), I will send it out tonight.
> If not, I am willing to give it a try, if you provide some guidance. I
> think I understand that platform_device_del would be the first half of
> platform_device_unregister, but do we then want to rebuild
> platform_device_unregister on top of platform_device_del so as to avoid
> code duplication, or not?
>
Yes, _unregister is changed to be smply call to _del + _put.
--
Dmitry
-
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/