From: David Brownell Date: Tue, 22 May 2007 17:49:16 +0000 (+0200) Subject: i2c: Legacy i2c drivers shouldn't issue uevents X-Git-Tag: v2.6.22-rc3~93^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de81d2aaebc8e5e5167cb93f674c57705898e45e;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed