sony-laptop: Add support for new Sony platform API
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 26 Mar 2009 12:58:12 +0000 (21:58 +0900)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:17:45 +0000 (12:17 -0400)
commitbadf26f00f2ed80615206d07bcfc2e3b78af5441
tree73d0ebc2c0f8bae2f8a055ec059b8521d65b95c7
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
sony-laptop: Add support for new Sony platform API

Newer Sony Vaios provide a new API for accessing platform functionality. It
consists of a set of standardised methods for enabling events and performing
queries. These are each identified by a unique handle. This patch adds
support for calling functions based on their handle and ports the existing
code for these machines over to it.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c