From: Ben Hutchings Date: Sat, 11 Feb 2012 22:57:19 +0000 (+0000) Subject: x86/cpu: Clean up modalias feature matching X-Git-Tag: v3.4-rc1~187^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5467bdda4a326513c2f14b712a22d59115b7ae94;p=pandora-kernel.git x86/cpu: Clean up modalias feature matching We currently include commas on both sides of the feature ID in a modalias, but this prevents the lowest numbered feature of a CPU from being matched. Since all feature IDs have the same length, we do not need to worry about substring matches, so omit commas from the modalias entirely. Avoid generating multiple adjacent wildcards when there is no feature ID to match. Signed-off-by: Ben Hutchings Acked-by: Thomas Renninger Acked-by: H. Peter Anvin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed