> Actually, can we remove the whole clientdata setting there? > > Commit 0998d0631001 (device-core: Ensure drvdata = NULL when no driver is > bound) modified the driver core to always clear out that field. Same seems > to apply if driver probe fails. Oh, nice, missed that commit. That indeed should help cleaning up the i2c core a little. I will prepare something.
Attachment:
signature.asc
Description: Digital signature