arm/mx2: use cpp magic to create imx-i2c devices

This makes the source shorter and easier to verify.  While at it switch
to use the SoC-prefixed constants.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
Uwe Kleine-König 2010-02-04 22:13:52 +01:00
commit 9309b2ba54
2 changed files with 22 additions and 34 deletions