]> git.baikalelectronics.ru Git - kernel.git/commit
acpi: Remove sysfs_create_link from video driver
authorMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 12:46:02 +0000 (12:46 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Mar 2011 20:05:29 +0000 (13:05 -0700)
commit43a13a3530048cd310444c803f5f2c8fbf8d4bff
tree6116b34ba9eeb210709b22b1d04d33f32b0ba086
parentba366066dbfd1d7ddf2f4ea29fd347f0fea38436
acpi: Remove sysfs_create_link from video driver

The acpi video driver attempts to explicitly create a sysfs link between
the acpi device and the associated PCI device. However, we're now also
doing this from the backlight core, which means that we get a backtrace
caused by a duplicate file. Remove the code and leave it up to the
backlight core.

Reported-by: Jeff Chua <jeff.chua.linux@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/video.c