[PATCH 0/2] New bind/unbingd uevents

From: Dmitry Torokhov
Date: Tue Jul 18 2017 - 15:31:07 EST


Hi Greg,

I am resending the bind/unbind and devm_sysfs_create_group() patches,
as you requested. The new bind/unbind will allow triggering firmware
update through udev, and the new sysfs API will cut down on some
boilerplate code in drivers.

Below is also a patch to systemd to stop dropping the new attributes
(why they think they need to inspect and discard the data they do not
understand is beyond me).

Thanks,
Dmitry

Dmitry Torokhov (2):
driver core: emit uevents when device is bound to a driver
sysfs: add devm_sysfs_create_group() and friends

drivers/base/dd.c | 4 ++
fs/sysfs/group.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/kobject.h | 2 +
include/linux/sysfs.h | 10 ++++
lib/kobject_uevent.c | 2 +
5 files changed, 142 insertions(+)

-- >8 --