aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acorn/char
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2008-01-27 18:14:51 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:51 +0100
commit86ec5ec872566dda74848e09904bb5380cab962e (patch)
treed487b08d5b333780deb6e0dbccb56f745d7bfceb /drivers/acorn/char
parenti2c: Drivers stop using the redundant client list (diff)
downloadlinux-dev-86ec5ec872566dda74848e09904bb5380cab962e.tar.xz
linux-dev-86ec5ec872566dda74848e09904bb5380cab962e.zip
i2c-remove-redundant-i2c_client-list.patch
This goes on top of the patch removing most i2c_adapter.clients usage, updating i2c_attach_client: - Don't call device_register() while holding clist_lock. This removes a self-deadlock when on the i2c_driver.probe() path, for drivers that need to attach new devices (e.g. dummies). - Remove a redundant address check. The driver model core does this as a consequence of guaranteeing unique names. - Move the "device registered" diagnostic so that it never lies; previously, on error paths it would falsely report success. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/acorn/char')
0 files changed, 0 insertions, 0 deletions