From: Wolfram Sang Date: Tue, 21 Jan 2014 16:48:34 +0000 (+0100) Subject: i2c: rely on driver core when sanitizing devices X-Git-Tag: v3.14-rc1~52^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fa818e8a3145ab3e345acbd3eccfa71a120702;p=pandora-kernel.git i2c: rely on driver core when sanitizing devices Commit 0998d0631001 (device-core: Ensure drvdata = NULL when no driver is bound) modified the driver core to always clear .driver and .drvdata on remove or probe error. No need for the I2C core to do it. Reported-by: Linus Torvalds Reported-by: Mika Westerberg Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed