Driver core: suppress uevents via filter
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 29 Mar 2007 09:12:11 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:29 +0000 (10:57 -0700)
commit83b5fb4cce13b9f7b218ed88ee05387c3f3bdda3
tree5b949c6fd72329ff395743dc3c36cac0f48efc87
parentca2f37dbc5324c7278577731033a358f1f86050a
Driver core: suppress uevents via filter

Suppress uevents for devices if uevent_suppress is set via
dev_uevent_filter(). This makes the driver core suppress all device
uevents, not just the add event in device_add().

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c