chiark / gitweb /
rules: drop redundant match
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Mar 2015 11:05:36 +0000 (12:05 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Mar 2015 11:05:36 +0000 (12:05 +0100)
The 60-keyboard rules are already guared by KERNEL!="event*" bail-outs,
therefore, KERNELS="input*" is always true. Drop it!

rules/60-keyboard.rules

index e456292253f1fb1c624d0e9bb22c1e1b8b7dd9f2..1265b0cfc510c0267147d482ce97407f166746b1 100644 (file)
@@ -13,7 +13,7 @@ DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:$attr{[dmi/id]modalias}'", \
   RUN{builtin}+="keyboard", GOTO="keyboard_end"
 
 # import key mapping for platform input device
-KERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
+IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
   RUN{builtin}+="keyboard", GOTO="keyboard_end"
 
 LABEL="keyboard_end"