From mboxrd@z Thu Jan 1 00:00:00 1970 From: pebolle@tiscali.nl (Paul Bolle) Date: Sat, 30 Aug 2014 12:26:27 +0200 Subject: __devinit and __devexit removed in kernel ? In-Reply-To: References: Message-ID: <1409394387.21896.66.camel@x220> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sat, 2014-08-30 at 14:13 +0530, Raj Ravi wrote: > Any specific reason why this is removed ? any pointers? 0) git log --no-merges -1 --grep __devinit commit 10874f5a00266343a06e95da680e8a5a383d9a80 Author: Bjorn Helgaas Date: Mon Apr 14 16:11:40 2014 -0600 PCI: Remove unnecessary __ref annotations [...] But CONFIG_HOTPLUG and __devinit are now gone, and the need for the __ref annotations is also gone, so remove them. Relevant historical commits: 54b956b90360 Remove __dev* markings from init.h [...] Signed-off-by: Bjorn Helgaas 1) git log -1 54b956b90360 commit 54b956b903607f8f8878754dd4352da6a54a1da2 Author: Greg Kroah-Hartman Date: Thu Jan 10 10:57:01 2013 -0800 Remove __dev* markings from init.h Now that all in-kernel users of __dev* are gone, let's remove them from init.h to keep them from popping up again and again. Thanks to Bill Pemberton for doing all of the hard work to make removal of this possible. Cc: Bill Pemberton Cc: Stephen Rothwell Signed-off-by: Greg Kroah-Hartman 2) git log --no-merges --author Pemberton --grep __devinit [256 commits] Apparently all this had to do with the removal of the Kconfig symbol HOTPLUG. Which was done in commit 40b313608ad4 ("Finally eradicate CONFIG_HOTPLUG"). Hope this helps. Paul Bolle