chiark / gitweb /
rules: avoid 'device/' accesses
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 20 Mar 2015 11:28:12 +0000 (12:28 +0100)
committerDavid 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