driver core: don't trigger uevent after failure
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 17 Jul 2012 08:39:10 +0000 (10:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 17:40:23 +0000 (10:40 -0700)
Do not send the uevent if driver_add_groups failed.

Reported-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found