diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-14 10:23:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 11:03:06 -0500 |
commit | af59e717d5ff9c8dbf9bcc581c0dfb3b2a9c9030 (patch) | |
tree | 5d4172db73ed280d54b477d056139de244d873d2 /Documentation/hw_random.txt | |
parent | 6f7aa56bae6ff38727d5c8bf6ee7d4202b4e3865 (diff) |
ptp: use is_visible method to hide unused attributes
Instead of creating selected attributes after the device is created (and
after userspace potentially seen uevent), lets use attribute group
is_visible() method to control which attributes are shown. This will allow
us to create all attributes (except "pins" group, which will be taken care
of later) before userspace gets notified about new ptp class device.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/hw_random.txt')
0 files changed, 0 insertions, 0 deletions