Messages in this thread | | | Date | Mon, 22 Sep 2008 21:35:49 +0900 | From | "Akinobu Mita" <> | Subject | Re: [PATCH] acer-wmi: add error checks in module_init |
| |
(I forget to CC)
2008/9/22 Akinobu Mita <akinobu.mita@gmail.com>: > On Sun, Sep 21, 2008 at 06:53:19PM +0100, Carlos Corbacho wrote: >> On Sunday 21 September 2008 15:29:59 Akinobu Mita wrote: >> > This patch fixes these bugs by using platform_device_register_simple() >> >> [Adding Greg KH to CC - 2nd time lucky...] >> >> Last I heard, platform_device_register_simple() was in the process of being >> deprecated and then slated for future removal. Has this changed? > > I didn't know about that plan. But if platform_device_alloc/add is > more preferable API than platform_device_register_simple(). > I'll amend those patches and resend them.
The number of platform_device_register_simple() is not decreasing. So I think the removal plan for platform_device_register_simple is not started (yet).
grep -r platform_device_register_simple 2.6.XX | wc -l
2.6.20: 64 2.6.21: 77 2.6.22: 66 2.6.23: 76 2.6.24: 80 2.6.25: 87 2.6.26: 83 2.6.27-rc7: 88
| |