aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-07-14 22:38:36 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 22:38:36 +0200
commit8508159e2f3b82bf109f0ec77bcbd8ff3f3a7e17 (patch)
tree34df907dc530ce8f2d9ac10b24454f85eaf4a4da /Documentation
parenti2c: Clean up old chip drivers (diff)
downloadlinux-dev-8508159e2f3b82bf109f0ec77bcbd8ff3f3a7e17.tar.xz
linux-dev-8508159e2f3b82bf109f0ec77bcbd8ff3f3a7e17.zip
i2c: Call client_unregister for new-style devices too
We call adapter->client_register for both legacy and new-style i2c devices, however we only call adapter->client_unregister for legacy drivers. This doesn't make much sense. Usually, drivers will undo in client_unregister what they did in client_register, so we should call neither or both for every given i2c device. In order to ease the transition from legacy to new-style devices, it seems preferable to actually call both. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <david-b@pacbell.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions