mmc: use sysfs groups to handle conditional attributes
authorPierre Ossman <drzeus-list@drzeus.cx>
Fri, 21 Mar 2008 22:54:50 +0000 (23:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Mar 2008 00:02:20 +0000 (17:02 -0700)
Suppressing uevents turned out to be a bad idea as it screws up the
order of events, making user space very confused. Change the system to
use sysfs groups instead.

This is a regression that, for some odd reason, has gone unnoticed for
some time. It confuses hal so that the block devices (which have the
mmc device as a parent) are not registered. End result being that
desktop magic when cards are inserted won't work.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found