<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/fan.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-08-10T11:35:32Z</updated>
<entry>
<title>ACPI / PM: Fix unused function warnings for CONFIG_PM_SLEEP</title>
<updated>2012-08-10T11:35:32Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2012-08-09T21:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9069240480e24a2d6ce23404c9ad6cabf59b7258'/>
<id>urn:sha1:9069240480e24a2d6ce23404c9ad6cabf59b7258</id>
<content type='text'>
According to compiler warnings, several suspend/resume functions
in ACPI 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 &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: Use struct dev_pm_ops for power management in the fan driver</title>
<updated>2012-07-01T11:30:59Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2012-06-27T21:26:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62fcbdd95ccabcff7b41a859032496f6ca492045'/>
<id>urn:sha1:62fcbdd95ccabcff7b41a859032496f6ca492045</id>
<content type='text'>
Make the ACPI fan 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 &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI / PM: Drop pm_message_t argument from device suspend callback</title>
<updated>2012-07-01T11:30:58Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2012-06-27T21:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17621e11fda095459e2f986c019f52686c7a4ffb'/>
<id>urn:sha1:17621e11fda095459e2f986c019f52686c7a4ffb</id>
<content type='text'>
None of the drivers implementing the ACPI device suspend callback
uses the pm_message_t argument of it, so this argument may be dropped
entirely from that callback.  This will simplify switching the ACPI
bus type to PM handling based on struct dev_pm_ops.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
<entry>
<title>ACPI: constify ops structs</title>
<updated>2011-07-16T22:36:17Z</updated>
<author>
<name>Vasiliy Kulikov</name>
</author>
<published>2011-06-25T17:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c8b04be443b33939f374a811c82abeebe0a61d1'/>
<id>urn:sha1:9c8b04be443b33939f374a811c82abeebe0a61d1</id>
<content type='text'>
Structs battery_file, acpi_dock_ops, file_operations,
thermal_cooling_device_ops, thermal_zone_device_ops, kernel_param_ops
are not changed in runtime.  It is safe to make them const.
register_hotplug_dock_device() was altered to take const "ops" argument
to respect acpi_dock_ops' const notion.

Signed-off-by: Vasiliy Kulikov &lt;segoon@openwall.com&gt;
Acked-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / Fan: Rework the handling of power resources</title>
<updated>2011-01-12T09:48:45Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-11-24T23:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=488a76c52606199100adf09c8eb7cbedbd94e9d9'/>
<id>urn:sha1:488a76c52606199100adf09c8eb7cbedbd94e9d9</id>
<content type='text'>
Use the new function acpi_bus_update_power() for manipulating power
resources used by ACPI fan devices, which allows them to be put into
the right state during initialization and resume.  Consequently,
remove the flags.force_power_state field from struct acpi_device,
which is not necessary any more.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI fan: remove deprecated procfs I/F</title>
<updated>2010-10-16T02:02:47Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2010-10-08T05:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2a44989c1dbfae409035eaffad4292c27fc7cb8'/>
<id>urn:sha1:b2a44989c1dbfae409035eaffad4292c27fc7cb8</id>
<content type='text'>
Remove deprecated ACPI Fan driver procfs interface.

The ACPI fan driver (CONFIG_ACPI_FAN) selects
the generic thermal sysfs driver (CONFIG_THERMAL) since 2.6.26,
so new sysfs I/F is available at /sys/class/thermal/cooling_devicecX/

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: fan: Fix more unbalanced code block</title>
<updated>2010-09-29T18:08:10Z</updated>
<author>
<name>Luis Henriques</name>
</author>
<published>2010-07-07T18:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c827eebfcd5caad24a50bc514ef15476b086e47'/>
<id>urn:sha1:0c827eebfcd5caad24a50bc514ef15476b086e47</id>
<content type='text'>
commit 934231de706d2579fae14f5857fcd8de991009ff fixes an unbalanced
CONFIG_ACPI_PROCFS code block during module initialisation.  This
patch fixes similar issue but for the module exit.

Signed-off-by: Luis Henriques &lt;luis.henrix@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: fan: fix unbalanced code block</title>
<updated>2010-06-10T15:24:51Z</updated>
<author>
<name>Liang Li</name>
</author>
<published>2010-06-10T05:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=934231de706d2579fae14f5857fcd8de991009ff'/>
<id>urn:sha1:934231de706d2579fae14f5857fcd8de991009ff</id>
<content type='text'>
The code block braced with CONFIG_ACPI_PROCFS is unblanced. When
CONFIG_ACPI_PROCFS=n, kernel trace will be produced like:

Call Trace:
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c103b02c&gt;] warn_slowpath_common+0x6c/0xc0
 [&lt;c111637d&gt;] ? remove_proc_entry+0x20d/0x290
 [&lt;c103b0c6&gt;] warn_slowpath_fmt+0x26/0x30
 [&lt;c111637d&gt;] remove_proc_entry+0x20d/0x290
 [&lt;c1116bd7&gt;] ? proc_register+0x117/0x1f0
 [&lt;c1116e83&gt;] ? proc_mkdir_mode+0x33/0x50
 [&lt;c14f483c&gt;] ? acpi_fan_init+0x0/0x2c
 [&lt;c14f485f&gt;] acpi_fan_init+0x23/0x2c
 [&lt;c1001123&gt;] do_one_initcall+0x23/0x180
 [&lt;c107dcf7&gt;] ? init_irq_proc+0x67/0x80
 [&lt;c14d43bd&gt;] kernel_init+0x13c/0x20e
 [&lt;c1030e50&gt;] ? schedule_tail+0x20/0x90
 [&lt;c1389e06&gt;] ? syscall_exit+0x5/0x16
 [&lt;c14d4281&gt;] ? kernel_init+0x0/0x20e
 [&lt;c14d4281&gt;] ? kernel_init+0x0/0x20e
 [&lt;c10032f6&gt;] 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 &lt;liang.li@windriver.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Remove repeated registered as cooling_device messages</title>
<updated>2009-12-16T05:07:10Z</updated>
<author>
<name>Mike Travis</name>
</author>
<published>2009-12-14T21:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13c41157096f05d5037a99152b4cf9d68ef00ef7'/>
<id>urn:sha1:13c41157096f05d5037a99152b4cf9d68ef00ef7</id>
<content type='text'>
This message shows up for each cpu.  Print as debug messages.

[   12.893967] processor ACPI0007:00: registered as cooling_device0
[   12.907838] processor ACPI0007:01: registered as cooling_device1

Signed-off-by: Mike Travis &lt;travis@sgi.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Move definition of PREFIX from acpi_bus.h to internal..h</title>
<updated>2009-08-28T23:57:27Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-07-28T20:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a192a9580bcc41692be1f36b77c3b681827f566a'/>
<id>urn:sha1:a192a9580bcc41692be1f36b77c3b681827f566a</id>
<content type='text'>
Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
however, not all ACPI drivers use/want it -- and they
should not have to #undef PREFIX to define their own.

Add GPL commment to internal.h while we are there.

This does not change any actual console output,
asside from a whitespace fix.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
