chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
9a2e157
)
rules: avoid 'device/' accesses
author
David Herrmann
<dh.herrmann@gmail.com>
Fri, 20 Mar 2015 11:28:12 +0000
(12:28 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Fri, 20 Mar 2015 11:28:12 +0000
(12:28 +0100)
We should never access parents, as the sysfs hierarchy is in no way
stable. Use KERNELS== etc. to match on a parent, then access it via
$attr{} (which accesses the matching device, not the current device).
No differences found