diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-10 16:30:34 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-10 16:30:34 -0400 | 
| commit | b526ca438b95a6d71210e0ffc79aabac8aba2b1e (patch) | |
| tree | 7b162fa7d99405c5ad0110b6f4a4db05ff9e48d5 /drivers/acpi/sleep/proc.c | |
| parent | 9b6a51746ffe8d619f1097675d2dc5e303470024 (diff) | |
| parent | f685648e7d6520653fa2641840cccc58ba8ef8e0 (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
  acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands
  sony-laptop: rename SONY_LAPTOP_OLD to a more meaningful SONYPI_COMPAT
  asus-laptop: version bump and lindent
  asus-laptop: fix light sens init
  asus-laptop: add GPS support
  asus-laptop: notify ALL events
  ACPICA: Lindent
  ACPI: created a dedicated workqueue for notify() execution
  Revert "ACPICA: fix AML mutex re-entrancy"
  Revert "Execute AML Notify() requests on stack."
  Revert "ACPICA: revert "acpi_serialize" changes"
  ACPI: delete un-reliable concept of cooling mode
  ACPI: thermal trip points are read-only
Diffstat (limited to 'drivers/acpi/sleep/proc.c')
| -rw-r--r-- | drivers/acpi/sleep/proc.c | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/drivers/acpi/sleep/proc.c b/drivers/acpi/sleep/proc.c index 76b45f0b8341..61f1822cc350 100644 --- a/drivers/acpi/sleep/proc.c +++ b/drivers/acpi/sleep/proc.c | |||
| @@ -349,8 +349,7 @@ acpi_system_write_alarm(struct file *file, | |||
| 349 | end: | 349 | end: | 
| 350 | return_VALUE(result ? result : count); | 350 | return_VALUE(result ? result : count); | 
| 351 | } | 351 | } | 
| 352 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 352 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 
| 353 | |||
| 354 | 353 | ||
| 355 | extern struct list_head acpi_wakeup_device_list; | 354 | extern struct list_head acpi_wakeup_device_list; | 
| 356 | extern spinlock_t acpi_device_lock; | 355 | extern spinlock_t acpi_device_lock; | 
| @@ -380,8 +379,8 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset) | |||
| 380 | dev->wakeup.state.enabled ? "enabled" : "disabled"); | 379 | dev->wakeup.state.enabled ? "enabled" : "disabled"); | 
| 381 | if (ldev) | 380 | if (ldev) | 
| 382 | seq_printf(seq, "%s:%s", | 381 | seq_printf(seq, "%s:%s", | 
| 383 | ldev->bus ? ldev->bus->name : "no-bus", | 382 | ldev->bus ? ldev->bus->name : "no-bus", | 
| 384 | ldev->bus_id); | 383 | ldev->bus_id); | 
| 385 | seq_printf(seq, "\n"); | 384 | seq_printf(seq, "\n"); | 
| 386 | put_device(ldev); | 385 | put_device(ldev); | 
| 387 | 386 | ||
| @@ -490,7 +489,7 @@ static u32 rtc_handler(void *context) | |||
| 490 | 489 | ||
| 491 | return ACPI_INTERRUPT_HANDLED; | 490 | return ACPI_INTERRUPT_HANDLED; | 
| 492 | } | 491 | } | 
| 493 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 492 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 
| 494 | 493 | ||
| 495 | static int __init acpi_sleep_proc_init(void) | 494 | static int __init acpi_sleep_proc_init(void) | 
| 496 | { | 495 | { | 
| @@ -517,7 +516,7 @@ static int __init acpi_sleep_proc_init(void) | |||
| 517 | entry->proc_fops = &acpi_system_alarm_fops; | 516 | entry->proc_fops = &acpi_system_alarm_fops; | 
| 518 | 517 | ||
| 519 | acpi_install_fixed_event_handler(ACPI_EVENT_RTC, rtc_handler, NULL); | 518 | acpi_install_fixed_event_handler(ACPI_EVENT_RTC, rtc_handler, NULL); | 
| 520 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 519 | #endif /* HAVE_ACPI_LEGACY_ALARM */ | 
| 521 | 520 | ||
| 522 | /* 'wakeup device' [R/W] */ | 521 | /* 'wakeup device' [R/W] */ | 
| 523 | entry = | 522 | entry = | 
