commit | e7fc6ae7446710a487510d212137a43289bbe90e | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Thu Jul 07 00:37:41 2011 +0800 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri Jul 08 12:38:12 2011 -0600 |
tree | 6f040b47a383ed19afe48521f449dc0081fa47de | |
parent | fb1492186276ba52d99b58121b8a9a87f20cc9f3 [diff] |
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 <shawn.guo@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>