Re: [PATCH] acer-wmi: add error checks in module_init

From: Akinobu Mita
Date: Mon Sep 22 2008 - 08:36:04 EST


(I forget to CC)

2008/9/22 Akinobu Mita <akinobu.mita@xxxxxxxxx>:
> 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
--
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/