From: Jean Delvare Date: Fri, 5 Nov 2010 17:51:34 +0000 (+0100) Subject: drm/i915: Fix I2C adapter registration X-Git-Tag: v2.6.37-rc3~7^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69669455b049c0f1f04bb306625c5d4db6838b11;p=pandora-kernel.git drm/i915: Fix I2C adapter registration 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 Signed-off-by: Chris Wilson --- Reading git-diff-tree failed