From: Shawn Guo Date: Wed, 6 Jul 2011 16:37:41 +0000 (+0800) Subject: gpio/mxc: get rid of the uses of cpu_is_mx() X-Git-Tag: v3.1-rc1~313^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7fc6ae7446710a487510d212137a43289bbe90e;p=pandora-kernel.git gpio/mxc: get rid of the uses of cpu_is_mx() The patch removes all the uses of cpu_is_mx(). Instead, it utilizes platform_device_id to distinguish the different gpio types, IMX1_GPIO on i.mx1, IMX21_GPIO on i.mx21 and i.mx27, IMX31_GPIO on all other i.mx SoCs. Signed-off-by: Shawn Guo Signed-off-by: Grant Likely --- Reading git-diff-tree failed