From: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> The current code names the backlight device that controls the Thinkpad display brightness "ibm". This is not nearly descriptive enough. The ThinkPad can connect to more than one flat pannel display using the external VGA or DVI output, which we may be able to control over DCC someday. Also, Lenovo may introduce a ThinkPad with more than one internal LCD screen in the future. Or we could have LCD gadgets from ibm with backlights connected to the ThinkPad... This patch renames the main backlight device from "ibm" to "built-in_screen", which is far more descriptive and future-proof. Maybe the backlight devices refering to the built-in screen of laptops in other drivers should also be renamed to "built-in_screen" ? Signed-off-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> Cc: Holger Macht <hmacht@xxxxxxx> Cc: Andy Whitcroft <apw@xxxxxxxxxxxx> Cc: Andrew Morton <akpm@xxxxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> --- drivers/acpi/ibm_acpi.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index 96e945c..dab3fd1 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c @@ -1718,8 +1718,9 @@ static struct backlight_properties ibm_b static int brightness_init(void) { - ibm_backlight_device = backlight_device_register("ibm", NULL, - &ibm_backlight_data); + ibm_backlight_device = backlight_device_register( + "built-in_screen", NULL, + &ibm_backlight_data); if (IS_ERR(ibm_backlight_device)) { printk(IBM_ERR "Could not register backlight device\n"); return PTR_ERR(ibm_backlight_device); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel