From: David Herrmann Date: Mon, 16 Mar 2015 11:19:09 +0000 (+0100) Subject: hwdb: merge atkbd into platform matches X-Git-Tag: v219.0~283 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ba76ee29bc02879fb42c048132af8889b00220d5;hp=ba76ee29bc02879fb42c048132af8889b00220d5 hwdb: merge atkbd into platform matches Currently, we always run hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}' as last step to match keyboards. Therefore, if nothing else matched so far, we still try the device-name+dmi combination. However, we have a special atkbd rule which is only run for atkbd as: hwdb 'keyboard:$attr{[dmi/id]modalias}' This is redundant, as we already pass the same information to hwdb in the last fallback step. This patch converts the hwdb "keyboard:dmi:*" matches to "keyboard:name:*:dmi:*" matches and drops the redundant rule. ---