drm/i915: Fix I2C adapter registration
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Nov 2010 17:51:34 +0000 (18:51 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Nov 2010 23:04:52 +0000 (23:04 +0000)
Fix many small bugs in I2C adapter registration:
* Properly reject unsupported GPIO pin.
* Fix improper use of I2C_NAME_SIZE (which is the size of
  i2c_client.name, not i2c_adapter.name.)
* Prefix adapter names with "i915" so that the user knows what the
  I2C channel is connected to.
* Fix swapped characters in the string used to name the GPIO-based
  adapter.
* Add missing comma in gmbus name table.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found