uevent: use add_uevent_var() instead of open coding it
Make use of add_uevent_var() instead of (often incorrectly) open coding it. Signed-off-by:Michael Ellerman <michael@ellerman.id.au> Signed-off-by:
Eric Rannaud <eric.rannaud@gmail.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/amba/bus.c 6 additions, 7 deletionsdrivers/amba/bus.c
- drivers/ieee1394/nodemgr.c 6 additions, 8 deletionsdrivers/ieee1394/nodemgr.c
- drivers/mmc/mmc_sysfs.c 11 additions, 16 deletionsdrivers/mmc/mmc_sysfs.c
- drivers/s390/crypto/ap_bus.c 13 additions, 15 deletionsdrivers/s390/crypto/ap_bus.c
- net/core/net-sysfs.c 11 additions, 17 deletionsnet/core/net-sysfs.c
- sound/aoa/soundbus/core.c 32 additions, 48 deletionssound/aoa/soundbus/core.c
Loading
Please register or sign in to comment