From: Durgadoss R <durgadoss.r@intel.com>
To: linux-acpi@vger.kernel.org
Cc: lenb@kernel.org, rui.zhang@intel.com,
Durgadoss R <durgadoss.r@intel.com>
Subject: [PATCH 2/2] ACPI-Thermal: Add a 'flag' argument in thermal.c
Date: Thu, 26 Jan 2012 22:05:49 +0530 [thread overview]
Message-ID: <1327595749-17673-2-git-send-email-durgadoss.r@intel.com> (raw)
In-Reply-To: <1327595749-17673-1-git-send-email-durgadoss.r@intel.com>
This patch adds a 'flag' argument to the thermal_zone_device_register
call in thermal.c.
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
---
drivers/acpi/thermal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 48fbc64..1c3133e 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -845,7 +845,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz)
if (tz->trips.passive.flags.valid)
tz->thermal_zone =
- thermal_zone_device_register("acpitz", trips, tz,
+ thermal_zone_device_register("acpitz", trips, 0, tz,
&acpi_thermal_zone_ops,
tz->trips.passive.tc1,
tz->trips.passive.tc2,
@@ -853,7 +853,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz)
tz->polling_frequency*100);
else
tz->thermal_zone =
- thermal_zone_device_register("acpitz", trips, tz,
+ thermal_zone_device_register("acpitz", trips, 0, tz,
&acpi_thermal_zone_ops,
0, 0, 0,
tz->polling_frequency*100);
--
1.7.1
next prev parent reply other threads:[~2012-01-26 11:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 16:35 [PATCH 1/2] ACPI-Thermal: Make Thermal trip points writeable Durgadoss R
2012-01-26 16:35 ` Durgadoss R [this message]
2012-01-26 13:42 ` [PATCH 2/2] ACPI-Thermal: Add a 'flag' argument in thermal.c Matthew Garrett
2012-01-26 16:14 ` R, Durgadoss
2012-01-26 16:23 ` Matthew Garrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1327595749-17673-2-git-send-email-durgadoss.r@intel.com \
--to=durgadoss.r@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).