Skip to content

Commit

Permalink
sony_acpi: Video sysfs support take 2
Browse files Browse the repository at this point in the history
add dev argument for backlight_device_register

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Andrew Morton authored and Len Brown committed Feb 13, 2007
1 parent 243e8b1 commit 82c4773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/sony_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int sony_acpi_add(struct acpi_device *device)

if (ACPI_SUCCESS(acpi_get_handle(sony_acpi_handle, "GBRT", &handle))) {
sony_backlight_device = backlight_device_register("sony", NULL,
&sony_backlight_properties);
NULL, &sony_backlight_properties);
if (IS_ERR(sony_backlight_device)) {
printk(LOG_PFX "unable to register backlight device\n");
}
Expand Down

0 comments on commit 82c4773

Please sign in to comment.