From: Archit Taneja Date: Thu, 12 May 2011 11:56:30 +0000 (+0530) Subject: OMAP: DSS2: Taal: Use device name in backlight_device_register X-Git-Tag: v3.0-rc1~166^2~20^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=634610ac6cdea8bce09a262cefe46c8705dfd209;p=pandora-kernel.git OMAP: DSS2: Taal: Use device name in backlight_device_register Panel Taal driver uses the string "taal" to register for a backlight device. This causes backlight_device_register() to fail when a second taal panel is added. Use dev_name(&dssdev->dev) as a parameter instead of the string. Note: This will break backlight related sysfs commands. Use the name as generated by the DSS2 driver, in the form "displayi", which represents the ith registered display device. Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed