summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/xo15-ebook.c
Commit message (Collapse)AuthorAgeFilesLines
* xo15-ebook: convert to module_acpi_driver()Mika Westerberg2012-09-211-13/+1
| | | | | Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
* platform / x86 / PM: Fix unused function warnings for CONFIG_PM_SLEEPRafael J. Wysocki2012-08-101-0/+2
| | | | | | | | According to compiler warnings, quite some suspend/resume functions in platform x86 drivers are not used for CONFIG_PM_SLEEP unset, so add #ifdefs to prevent them from being built in that case. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
* xo15-ebook: Use struct dev_pm_ops for power managementRafael J. Wysocki2012-07-011-3/+5
| | | | | | | | Make the xo15-ebook driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct acpi_device_ops. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
* xo15-ebook: Use pr_<level>Joe Perches2011-05-271-2/+3
| | | | | | | | | | | Use the current logging styles. Remove local #define PREFIX. Add pr_fmt. Convert printk to pr_<level>. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
* xo15-ebook: Remove device.wakeup_countMatthew Garrett2011-03-281-1/+0
| | | | | | This is handled automatically now. Signed-off-by: Matthew Garrett <mjg@redhat.com>
* OLPC XO-1.5 ebook switch driverPaul Fox2011-03-281-0/+181
The OLPC XO-1.5 has an ebook switch, triggered when the laptop screen is rotated then folding down, converting the device into ebook form. This switch is exposed through ACPI. Add a driver that exposes it to userspace as an input device. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Matthew Garrett <mjg@redhat.com>
OpenPOWER on IntegriCloud