aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/xo15-ebook.c
Commit message (Collapse)AuthorAge
* platform / x86 / PM: Fix unused function warnings for CONFIG_PM_SLEEPRafael J. Wysocki2012-08-10
| | | | | | | | 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-01
| | | | | | | | 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-27
| | | | | | | | | | | 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-28
| | | | | | This is handled automatically now. Signed-off-by: Matthew Garrett <mjg@redhat.com>
* OLPC XO-1.5 ebook switch driverPaul Fox2011-03-28
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>