From: Alexandre Belloni Date: Mon, 1 Jul 2013 13:23:22 +0000 (+0200) Subject: ARM: mxs: Simplify detection of CrystalFontz boards X-Git-Tag: next-20130822~15^2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f71f2e95d0ceb4d713e0161196a7283363f181ff;p=karo-tx-linux.git ARM: mxs: Simplify detection of CrystalFontz boards As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it easier to add future boards. Signed-off-by: Alexandre Belloni Acked-by: Maxime Ripard Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 958ef483bf33..98f6e2adb53e 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c @@ -457,10 +457,7 @@ static void __init mxs_machine_init(void) imx28_evk_init(); else if (of_machine_is_compatible("bluegiga,apx4devkit")) apx4devkit_init(); - else if (of_machine_is_compatible("crystalfontz,cfa10037") || - of_machine_is_compatible("crystalfontz,cfa10049") || - of_machine_is_compatible("crystalfontz,cfa10055") || - of_machine_is_compatible("crystalfontz,cfa10057")) + else if (of_machine_is_compatible("crystalfontz,cfa10036")) crystalfontz_init(); of_platform_populate(NULL, of_default_bus_match_table,