Re: __devinit and __devexit removed in kernel ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <bhelgaas@xxxxxxxxxx>
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 <bhelgaas@xxxxxxxxxx>

1) git log -1 54b956b90360
commit 54b956b903607f8f8878754dd4352da6a54a1da2
Author: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
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 <wfp5p@xxxxxxxxxxxx>
    Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux