public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
Cc: Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] i2c: Warn on deprecated binding model use
Date: Tue, 13 Jan 2009 17:04:47 +0100	[thread overview]
Message-ID: <20090113170447.2fbef7b5@hyperion.delvare> (raw)
In-Reply-To: <20090113154428.GK8032-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>

Hi Ben,

On Tue, 13 Jan 2009 15:44:29 +0000, Ben Dooks wrote:
> On Tue, Jan 13, 2009 at 02:40:44PM +0100, Jean Delvare wrote:
> > Let the kernel developers know that i2c_attach_client() and
> > i2c_detach_client() are deprecated and should no longer be used.
> > Drivers using these should be converted to the standard device
> > driver binding model (probe and remove methods.)
> > 
> > Signed-off-by: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
> 
> This is a good idea, we should also signal a kernel date when the
> old probe method will be removed (IMHO, the next merge window).

There's an entry in feature-removal-schedule.txt already:

What:   i2c_attach_client(), i2c_detach_client(), i2c_driver->detach_client()
When:   2.6.29 (ideally) or 2.6.30 (more likely)
Why:    Deprecated by the new (standard) device driver binding model. Use
        i2c_driver->probe() and ->remove() instead.
Who:    Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>

I'd say this is sufficient?

> Acked-by: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>

Thanks,
-- 
Jean Delvare

      parent reply	other threads:[~2009-01-13 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 13:40 [PATCH] i2c: Warn on deprecated binding model use Jean Delvare
     [not found] ` <20090113144044.5b6fb53a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-01-13 15:44   ` Ben Dooks
     [not found]     ` <20090113154428.GK8032-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
2009-01-13 16:04       ` Jean Delvare [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=20090113170447.2fbef7b5@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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