kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pebolle@tiscali.nl (Paul Bolle)
To: kernelnewbies@lists.kernelnewbies.org
Subject: __devinit and __devexit removed in kernel ?
Date: Sat, 30 Aug 2014 12:26:27 +0200	[thread overview]
Message-ID: <1409394387.21896.66.camel@x220> (raw)
In-Reply-To: <CAL0OjmEp-_wYpZMfPg8PV7Kf8Ps28x4W4Z6kZx-m0k6dzkaXig@mail.gmail.com>

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@google.com>
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@google.com>

1) git log -1 54b956b90360
commit 54b956b903607f8f8878754dd4352da6a54a1da2
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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@virginia.edu>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

      reply	other threads:[~2014-08-30 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30  8:43 __devinit and __devexit removed in kernel ? Raj Ravi
2014-08-30 10:26 ` Paul Bolle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1409394387.21896.66.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).