Liang Li
934231de70
ACPI: fan: fix unbalanced code block
The code block braced with CONFIG_ACPI_PROCFS is unblanced. When
CONFIG_ACPI_PROCFS=n, kernel trace will be produced like:
Call Trace:
[<c111637d>] ? remove_proc_entry+0x20d/0x290
[<c111637d>] ? remove_proc_entry+0x20d/0x290
[<c103b02c>] warn_slowpath_common+0x6c/0xc0
[<c111637d>] ? remove_proc_entry+0x20d/0x290
[<c103b0c6>] warn_slowpath_fmt+0x26/0x30
[<c111637d>] remove_proc_entry+0x20d/0x290
[<c1116bd7>] ? proc_register+0x117/0x1f0
[<c1116e83>] ? proc_mkdir_mode+0x33/0x50
[<c14f483c>] ? acpi_fan_init+0x0/0x2c
[<c14f485f>] acpi_fan_init+0x23/0x2c
[<c1001123>] do_one_initcall+0x23/0x180
[<c107dcf7>] ? init_irq_proc+0x67/0x80
[<c14d43bd>] kernel_init+0x13c/0x20e
[<c1030e50>] ? schedule_tail+0x20/0x90
[<c1389e06>] ? syscall_exit+0x5/0x16
[<c14d4281>] ? kernel_init+0x0/0x20e
[<c14d4281>] ? kernel_init+0x0/0x20e
[<c10032f6>] kernel_thread_helper+0x6/0x30
---[ end trace a7919e7f17c0a725 ]---
Then also bracket later error checking code with ACPI_PROCFS
option to avoid mismatch problem.
Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-06-10 11:24:51 -04:00
..
2010-06-10 11:24:51 -04:00
2010-06-07 16:03:15 -04:00
2010-05-22 00:36:56 -06:00
2010-05-25 08:07:09 -07:00
2010-05-27 09:12:48 -07:00
2010-06-04 15:37:44 -07:00
2010-05-20 21:04:44 -07:00
2010-06-06 20:44:04 -07:00
2010-06-02 17:10:44 +09:00
2010-05-28 16:14:17 -07:00
2010-06-03 16:57:24 +10:00
2010-06-02 21:02:39 -06:00
2010-06-04 15:39:54 -07:00
2010-05-27 10:22:06 -07:00
2010-05-21 09:37:31 -07:00
2010-05-28 01:37:59 +02:00
2010-06-05 20:37:37 -07:00
2010-05-27 09:19:55 -07:00
2010-06-03 11:33:58 +02:00
2010-06-03 11:33:58 +02:00
2010-06-02 17:50:38 +10:00
2010-05-28 14:26:20 -04:00
2010-05-27 10:22:06 -07:00
2010-06-04 17:16:27 -04:00
2010-06-04 15:42:30 -07:00
2010-06-03 03:28:22 -07:00
2010-06-03 11:33:58 +02:00
2010-06-03 15:46:37 -07:00
2010-05-27 09:12:48 -07:00
2010-06-04 15:38:12 -07:00
2010-05-27 09:12:41 -07:00
2010-06-03 11:33:58 +02:00
2010-06-04 15:21:44 -07:00
2010-06-04 15:42:09 -07:00
2010-06-07 17:10:06 -07:00
2010-06-05 07:32:21 -07:00
2010-05-22 00:36:56 -06:00
2010-05-26 19:51:09 +02:00
2010-06-07 16:03:10 -04:00
2010-06-02 21:02:38 -06:00
2010-06-01 08:40:47 -07:00
2010-06-03 11:33:58 +02:00
2010-05-30 09:02:47 -07:00
2010-06-03 11:33:58 +02:00
2010-06-04 15:21:44 -07:00
2010-05-26 23:27:09 +02:00
2010-05-24 08:01:10 -07:00
2010-06-03 15:48:15 -07:00
2010-06-04 13:37:18 -07:00
2010-06-01 12:04:35 -04:00
2010-06-02 18:10:00 +09:00
2010-06-02 13:45:06 -06:00
2010-05-28 13:57:01 -04:00
2010-06-04 15:38:12 -07:00
2010-05-27 09:12:42 -07:00
2010-06-04 15:42:09 -07:00
2010-05-28 10:18:40 -07:00
2010-06-04 15:42:09 -07:00
2010-05-21 17:22:52 -07:00
2010-05-21 09:37:31 -07:00
2010-06-07 15:55:03 +00:00
2010-06-03 09:34:45 +01:00
2010-05-21 09:37:31 -07:00
2010-05-28 14:26:20 -04:00