I2C: OMAP2+: address confused probed version naming
authorAndy Green <andy@warmcat.com>
Tue, 8 Mar 2011 11:08:34 +0000 (11:08 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Mar 2011 23:23:16 +0000 (15:23 -0800)
commit5d065a15d492761e9a79cc61c2110e6e3f9c3429
treed4219df473c897f17e71ba1288b32bd2ccd832ff
parentb3d9e1e21e16c25b339894fba20fe0a19ff6a4b1
I2C: OMAP2+: address confused probed version naming

The driver reflects the confusion that probed I2C revision
from the hardware of 0x40 means it is on an OMAP4430.

However, you will probe the same 0x40 ID on an OMAP3530.  So
this patch changes the name to reflect that.

It also clarifies that the original name OMAP_I2C_REV_2 is
referring to some ancient OMAP1 revision number, not to be
confused with the IP revisions this patch series introduces.

Similarly the term "rev" is used in the ancient OMAP1 ISR,
the term is changed to use omap1 instead.

Cc: patches@linaro.org
Cc: Ben Dooks <ben-linux@fluff.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c