i2c-nomadik: fix regression on adapter name
commit6d779a4c3f97023fe329ef33aba25c8aaadf281b
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 30 Nov 2010 15:59:29 +0000 (30 16:59 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 4 Jan 2011 01:17:55 +0000 (4 01:17 +0000)
tree4555e3e2d79e5cdb16de3230e3f167366ebf15d3
parent03ed6a3aa600c48593c3984812fda2d5945ddb46
i2c-nomadik: fix regression on adapter name

The Nomadik I2C adapter does not provide a name for the struct
passed into i2c_add_numbered_adapter() causing a regression on
2.6.37-rc3 due to commit 2236baa75f704851d3cd3310569058151acb1f06
adding sanity checks for adapters. Fix this by providing a name
proper.

Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-nomadik.c