]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Legacy i2c drivers shouldn't issue uevents
authorDavid Brownell <david-b@pacbell.net>
Tue, 22 May 2007 17:49:16 +0000 (19:49 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 22 May 2007 17:49:16 +0000 (19:49 +0200)
commit2c675eb5169eea529a2ad3d53ce8f656100523f3
treed452f6b0f41879617a75e1fe9092f196de108bf1
parentfc46f9202c63e3cb44d086d18a475d92e05bd3f4
i2c: Legacy i2c drivers shouldn't issue uevents

Prevent legacy drivers from issuing uevents for device creation/removal,
so that userspace can't cause modprobing loops for them.  This became a
problem for some legacy PC drivers.  I can't easily see it becoming an
issue with I2C legacy drivers, but consistency-in-paranoia seems likely
to be a good thing here.  For usable i2c-level driver model uevents, just
switch to a new-style driver.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c