diff for duplicates of <47C5200F.7000006@hhs.nl> diff --git a/a/1.txt b/N1/1.txt index c9a0297..ea9b942 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -69,8 +69,7 @@ Hans > 3 files changed, 147 insertions(+), 37 deletions(-) > > Index: linux-2.6/Documentation/thermal/sysfs-api.txt -> =================================================================== -> --- linux-2.6.orig/Documentation/thermal/sysfs-api.txt +> =================================> --- linux-2.6.orig/Documentation/thermal/sysfs-api.txt > +++ linux-2.6/Documentation/thermal/sysfs-api.txt > @@ -143,10 +143,10 @@ type Strings which represent the ther > This is given by thermal zone driver as part of registration. @@ -128,8 +127,7 @@ Hans > |-----cdev0_trip_point: 1 /* cdev0 can be used for passive */ > |-----cdev1: --->/sys/class/thermal/cooling_device3 > Index: linux-2.6/drivers/thermal/Kconfig -> =================================================================== -> --- linux-2.6.orig/drivers/thermal/Kconfig +> =================================> --- linux-2.6.orig/drivers/thermal/Kconfig > +++ linux-2.6/drivers/thermal/Kconfig > @@ -4,6 +4,7 @@ > @@ -140,8 +138,7 @@ Hans > help > Generic Thermal Sysfs driver offers a generic mechanism for > Index: linux-2.6/drivers/thermal/thermal.c -> =================================================================== -> --- linux-2.6.orig/drivers/thermal/thermal.c +> =================================> --- linux-2.6.orig/drivers/thermal/thermal.c > +++ linux-2.6/drivers/thermal/thermal.c > @@ -30,8 +30,10 @@ > #include <linux/idr.h> @@ -184,7 +181,7 @@ Hans > + = to_sensor_dev_attr(attr); > + > + list_for_each_entry(tz, &thermal_tz_list, node) -> + if (tz->id == sensor_attr->index) +> + if (tz->id = sensor_attr->index) > + return tz->ops->get_temp(tz, buf); > + > + return -ENODEV; @@ -199,7 +196,7 @@ Hans > + = to_sensor_dev_attr(attr); > + > + list_for_each_entry(tz, &thermal_tz_list, node) -> + if (tz->id == sensor_attr->index) +> + if (tz->id = sensor_attr->index) > + return tz->ops->get_trip_temp(tz, 0, buf); > + > + return -ENODEV; @@ -394,4 +391,10 @@ Hans > subsys_initcall(thermal_init); > > -> +> + + +_______________________________________________ +lm-sensors mailing list +lm-sensors@lm-sensors.org +http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index c680670..5a176ea 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\047C3D04E.6090609@hhs.nl\0" "ref\01204062023.10256.100.camel@acpi-hp-zz.sh.intel.com\0" "From\0Hans de Goede <j.w.r.degoede@hhs.nl>\0" - "Subject\0Re: [PATCH 1/2] thermal: add hwmon sys I/F for thermal device\0" - "Date\0Wed, 27 Feb 2008 09:32:15 +0100\0" + "Subject\0Re: [lm-sensors] [PATCH 1/2] thermal: add hwmon sys I/F for thermal\0" + "Date\0Wed, 27 Feb 2008 08:32:15 +0000\0" "To\0Zhang" " Rui <rui.zhang@intel.com>\0" "Cc\0linux-acpi <linux-acpi@vger.kernel.org>" @@ -90,8 +90,7 @@ "> 3 files changed, 147 insertions(+), 37 deletions(-)\n" "> \n" "> Index: linux-2.6/Documentation/thermal/sysfs-api.txt\n" - "> ===================================================================\n" - "> --- linux-2.6.orig/Documentation/thermal/sysfs-api.txt\n" + "> =================================> --- linux-2.6.orig/Documentation/thermal/sysfs-api.txt\n" "> +++ linux-2.6/Documentation/thermal/sysfs-api.txt\n" "> @@ -143,10 +143,10 @@ type\t\t\t\tStrings which represent the ther\n" "> \t\t\t\tThis is given by thermal zone driver as part of registration.\n" @@ -149,8 +148,7 @@ "> \t|-----cdev0_trip_point:\t\t1\t/* cdev0 can be used for passive */\n" "> \t|-----cdev1:\t\t\t--->/sys/class/thermal/cooling_device3\n" "> Index: linux-2.6/drivers/thermal/Kconfig\n" - "> ===================================================================\n" - "> --- linux-2.6.orig/drivers/thermal/Kconfig\n" + "> =================================> --- linux-2.6.orig/drivers/thermal/Kconfig\n" "> +++ linux-2.6/drivers/thermal/Kconfig\n" "> @@ -4,6 +4,7 @@\n" "> \n" @@ -161,8 +159,7 @@ "> \thelp\n" "> \t Generic Thermal Sysfs driver offers a generic mechanism for\n" "> Index: linux-2.6/drivers/thermal/thermal.c\n" - "> ===================================================================\n" - "> --- linux-2.6.orig/drivers/thermal/thermal.c\n" + "> =================================> --- linux-2.6.orig/drivers/thermal/thermal.c\n" "> +++ linux-2.6/drivers/thermal/thermal.c\n" "> @@ -30,8 +30,10 @@\n" "> #include <linux/idr.h>\n" @@ -205,7 +202,7 @@ "> +\t\t\t\t\t\t= to_sensor_dev_attr(attr);\n" "> +\n" "> +\tlist_for_each_entry(tz, &thermal_tz_list, node)\n" - "> +\t\tif (tz->id == sensor_attr->index)\n" + "> +\t\tif (tz->id = sensor_attr->index)\n" "> +\t\t\treturn tz->ops->get_temp(tz, buf);\n" "> +\n" "> +\treturn -ENODEV;\n" @@ -220,7 +217,7 @@ "> +\t\t\t\t\t\t= to_sensor_dev_attr(attr);\n" "> +\n" "> +\tlist_for_each_entry(tz, &thermal_tz_list, node)\n" - "> +\t\tif (tz->id == sensor_attr->index)\n" + "> +\t\tif (tz->id = sensor_attr->index)\n" "> +\t\t\treturn tz->ops->get_trip_temp(tz, 0, buf);\n" "> +\n" "> +\treturn -ENODEV;\n" @@ -415,6 +412,12 @@ "> subsys_initcall(thermal_init);\n" "> \n" "> \n" - > + "> \n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -42c0e158dbec4752d71db0ed0f72211331bf922e137b02c0031cf485371dae5e +285923f1fe1f6d9b5ca1a7f85822dea2be1ee2cb6fe17338ee2dfa496f16b853
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.