lkml.org 
[lkml]   [2003]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecti2c_probe() vs i2c_detect()
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 :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.035 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site