]> git.baikalelectronics.ru Git - kernel.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)
commit9917cbc86f18f3226a924bafc8079d6c50d7857a
tree53fa3cfe6ca2b65c1042aa42fc39b55efc5ba9d9
parent60dbfb191c5e900f26bfc8fb849c042d01259b4c
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