]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
asus-laptop: remove deprecated interfaces (lcd_switch and display_get)
authorCorentin Chary <corentin.chary@gmail.com>
Sun, 6 Feb 2011 12:27:31 +0000 (13:27 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:20 +0000 (06:05 -0400)
commit3b81cf9d558c57406b4ed9b0d2639113d1d428b6
tree53fa3cfe6ca2b65c1042aa42fc39b55efc5ba9d9
parentaf96f87703f33a4dba4b51c7b3f0d6f874aa4853
asus-laptop: remove deprecated interfaces (lcd_switch and display_get)

I should have done that one year ago, so it's more than
time to do it.

These two features use non-standard interfaces. There are the
only features that really need multiple path to guess what's
the right method name on a specific laptop.

Removing them allow to remove a lot of code an significantly
clean the driver.

This will affect the backlight code which won't be able to know
if the backlight is on or off.

The platform display file will also be write only (like the one
in eeepc-laptop).

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-laptop.c