mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: i2c_probe() vs i2c_detect()
Date: Fri, 4 Apr 2003 14:33:01 +0100	[thread overview]
Message-ID: <20030404143301.B25147@infradead.org> (raw)
In-Reply-To: <20030403012307.GA6037@kroah.com>; from greg@kroah.com on Wed, Apr 02, 2003 at 05:23:07PM -0800

On Wed, Apr 02, 2003 at 05:23:07PM -0800, Greg KH wrote:
> Hi all,
> 
> Can anyone tell me why both i2c_probe() and i2c_detect() are in the
> kernel at the same time?  They both almost do the same thing, with the
> exception being i2c_detect() can handle i2c devices on the isa bus.
> 
> It kind of looks like the older i2c code and drivers used the
> i2c_probe() call, while the lm_sensors code used i2c_detect().
> 
> If there are no objections, I'll merge the two of them, cutting about 2k
> out of the kernel :)

Once ou're at it you could also try to get rid of the check_region abuse
in there :)


      reply	other threads:[~2003-04-04 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03  1:23 Greg KH
2003-04-04 13:33 ` Christoph Hellwig [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=20030404143301.B25147@infradead.org \
    --to=hch@infradead.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sensors@stimpy.netroedge.com \
    /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

Powered by JetHome