On Sat, Nov 06, 2004 at 07:47:33PM +0100, Jean Delvare wrote: > Hi Greg, hi all, > > This is the patch we discussed about yesterday. I post it here so that > it can receive the public reviewing it deserves. > > The patch adds a check at the beginning of i2c_del_adapter in case > someone attempts to remove an adapter that was never added in the first > place. This sounds like a good safety, as doing so will lead to an oops > at the moment. Also, I have a need for it in the latest version of my > i2c-amd756-s4882 patch. I need to remove the original adapter and > install the virtual ones instead, but I have no way to know if the > original adapter was succesfully added beforehand or not. > > Thanks. > > Signed-off-by: Jean Delvare <khali at linux-fr.org> Applied, thanks. greg k-h