commit | 72fa818e8a3145ab3e345acbd3eccfa71a120702 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Tue Jan 21 17:48:34 2014 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Jan 24 19:52:25 2014 +0100 |
tree | 052a8a84656ea64ca4383ec4804f99b7e65f9cc2 | |
parent | 21d0b7c0faf2f780afa2bef72cc921ace10a7356 [diff] |
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 <torvalds@linux-foundation.org> Reported-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>