Messages in this thread | | | From | Bryan Wu <> | Subject | [PATCH 0/3] add new API to sysfs and device core code | Date | Fri, 27 Jul 2012 12:02:40 +0800 |
| |
Send out a uevent when create file in sysfs, which is required by userspace application such udev in Android
Bryan Wu (3): sysfs: introduce a sysfs_create_file_uevent new API drivers: add a new device_create_file_uevent API ledtrig-timer: convert to use device_create_file_uevent API
drivers/base/core.c | 19 +++++++++++++++++++ drivers/leds/ledtrig-timer.c | 6 ++++-- fs/sysfs/file.c | 28 ++++++++++++++++++++++++++++ include/linux/device.h | 4 ++++ include/linux/sysfs.h | 13 +++++++++++++ 5 files changed, 68 insertions(+), 2 deletions(-)
-- 1.7.11.1
| |