summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-20 12:28:12 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-03-20 12:28:12 +0100
commit9a2e1571c0d535ee784cd0401f1086d790c7650b (patch)
tree39332ea4ee897587ee40c7780f9425d17dfeccd2 /CODING_STYLE
parent568d800b784223eb37a5cd75e66dc03510fae638 (diff)
rules: avoid 'device/' accesses
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).
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions