drm/nouveau: don't expose backlight control when available through ACPI
authorBen Skeggs <bskeggs@redhat.com>
Wed, 3 Nov 2010 23:56:12 +0000 (09:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 18 Nov 2010 04:39:02 +0000 (14:39 +1000)
commit5bead799d3f8f1500c4b59301b8a2732a92f559f
tree5bada5e9fdd8be94252f777d2b0dad047e424285
parentcac8f05b4294d18cfa940511c286ca03aa6590ad
drm/nouveau: don't expose backlight control when available through ACPI

Avoid confusing userspace by not publishing backlight controls if ACPI
equivalents are available.

Reported-by: Aaron Sowry <aaron@aeneby.se>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_backlight.c