commit | 47eba33a0997fc7362ae41cf28cea687e28bd731 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 21 13:24:32 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 22 10:55:03 2013 -0700 |
tree | d20f1127549aca2a1add4f9ea02c919cb7549aea | |
parent | 3e1026b3fa2f61d33ce6a9e42a22398cc4ab8e58 [diff] |
w1: remove race with sysfs file creation W1 slave sysfs files are created _after_ userspace is notified that the device has been added to the system. Fix that race by moving the creation/remove of the files to the bus notifier that is there for doing this type of thing. Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>