There are users of a simple string matching in the array. Let's do a common helper for that.
Two users are updated in the series. one more is coming [1]. [1] http://www.spinics.net/lists/kernel/msg2074265.html The series is compile tested. Andy Shevchenko (3): lib/string: introduce match_string() helper drm/edid: convert to use match_string() helper ata: hpt366: convert to use match_string() helper drivers/ata/pata_hpt366.c | 13 +++++-------- drivers/gpu/drm/drm_edid_load.c | 17 ++++++----------- include/linux/string.h | 7 +++++++ lib/string.c | 26 ++++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 19 deletions(-) -- 2.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/