diff for duplicates of <20130918170840.GA14830@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 29401d4..240180d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -273,8 +273,7 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + }; > + attach2 { > + trip = <&cpu-alert1>; -> + cooling-device = -> + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>; +> + cooling-device > + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>; > + }; > + }; > +}; @@ -744,7 +743,7 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + for (i = 0; i < data->num_tbps; i++) { > + struct __thermal_bind_params *tbp = data->tbps + i; > + -> + if (tbp->cooling_device == cdev->np) { +> + if (tbp->cooling_device = cdev->np) { > + int ret; > + > + ret = thermal_zone_bind_cooling_device(thermal, @@ -772,7 +771,7 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + for (i = 0; i < data->num_tbps; i++) { > + struct __thermal_bind_params *tbp = data->tbps + i; > + -> + if (tbp->cooling_device == cdev->np) { +> + if (tbp->cooling_device = cdev->np) { > + int ret; > + > + ret = thermal_zone_unbind_cooling_device(thermal, @@ -802,7 +801,7 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + > + mutex_lock(&tz->lock); > + -> + if (mode == THERMAL_DEVICE_ENABLED) +> + if (mode = THERMAL_DEVICE_ENABLED) > + tz->polling_delay = data->polling_delay; > + else > + tz->polling_delay = 0; @@ -889,7 +888,7 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + int i; > + > + for (i = 0; i < data->ntrips; i++) -> + if (data->trips[i].type == THERMAL_TRIP_CRITICAL) { +> + if (data->trips[i].type = THERMAL_TRIP_CRITICAL) { > + *temp = data->trips[i].temperature; > + return 0; > + } @@ -1004,8 +1003,8 @@ On Wed, Sep 18, 2013 at 12:03:09PM -0400, Eduardo Valentin wrote: > + if (sensor_specs.args_count < 1) > + continue; > + -> + if (sensor_specs.np == sensor_np && -> + sensor_specs.args[0] == sensor_id) { +> + if (sensor_specs.np = sensor_np && +> + sensor_specs.args[0] = sensor_id) { > + of_node_put(np); > + return thermal_zone_of_add_sensor(child, sensor_np, > + data, @@ -1088,7 +1087,7 @@ Guenter > + /* Default weight. Usage is optional */ > + __tbp->usage = 0; > + ret = of_property_read_u32(np, "usage", &prop); -> + if (ret == 0) +> + if (ret = 0) > + __tbp->usage = prop; > + > + trip = of_parse_phandle(np, "trip", 0); @@ -1099,12 +1098,12 @@ Guenter > + > + /* match using device_node */ > + for (i = 0; i < ntrips; i++) -> + if (trip == trips[i].np) { +> + if (trip = trips[i].np) { > + __tbp->trip_id = i; > + break; > + } > + -> + if (i == ntrips) { +> + if (i = ntrips) { > + ret = -ENODEV; > + goto end; > + } @@ -1496,4 +1495,9 @@ Guenter > -- > 1.8.2.1.342.gfa7285d > -> +> + +_______________________________________________ +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 812859a..8eab489 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01379282563-14650-3-git-send-email-eduardo.valentin@ti.com\0" "ref\01379520189-11328-1-git-send-email-eduardo.valentin@ti.com\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [PATCHv2 02/16] drivers: thermal: introduce device tree parser\0" - "Date\0Wed, 18 Sep 2013 10:08:40 -0700\0" + "Subject\0Re: [lm-sensors] [PATCHv2 02/16] drivers: thermal: introduce device tree parser\0" + "Date\0Wed, 18 Sep 2013 17:08:40 +0000\0" "To\0Eduardo Valentin <eduardo.valentin@ti.com>\0" "Cc\0swarren@wwwdotorg.org" pawel.moll@arm.com @@ -294,8 +294,7 @@ "> +\t\t};\n" "> +\t\tattach2 {\n" "> +\t\t\ttrip = <&cpu-alert1>;\n" - "> +\t\t\tcooling-device =\n" - "> +\t\t\t\t<&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>;\n" + "> +\t\t\tcooling-device > +\t\t\t\t<&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>;\n" "> +\t\t};\n" "> +\t};\n" "> +};\n" @@ -765,7 +764,7 @@ "> +\tfor (i = 0; i < data->num_tbps; i++) {\n" "> +\t\tstruct __thermal_bind_params *tbp = data->tbps + i;\n" "> +\n" - "> +\t\tif (tbp->cooling_device == cdev->np) {\n" + "> +\t\tif (tbp->cooling_device = cdev->np) {\n" "> +\t\t\tint ret;\n" "> +\n" "> +\t\t\tret = thermal_zone_bind_cooling_device(thermal,\n" @@ -793,7 +792,7 @@ "> +\tfor (i = 0; i < data->num_tbps; i++) {\n" "> +\t\tstruct __thermal_bind_params *tbp = data->tbps + i;\n" "> +\n" - "> +\t\tif (tbp->cooling_device == cdev->np) {\n" + "> +\t\tif (tbp->cooling_device = cdev->np) {\n" "> +\t\t\tint ret;\n" "> +\n" "> +\t\t\tret = thermal_zone_unbind_cooling_device(thermal,\n" @@ -823,7 +822,7 @@ "> +\n" "> +\tmutex_lock(&tz->lock);\n" "> +\n" - "> +\tif (mode == THERMAL_DEVICE_ENABLED)\n" + "> +\tif (mode = THERMAL_DEVICE_ENABLED)\n" "> +\t\ttz->polling_delay = data->polling_delay;\n" "> +\telse\n" "> +\t\ttz->polling_delay = 0;\n" @@ -910,7 +909,7 @@ "> +\tint i;\n" "> +\n" "> +\tfor (i = 0; i < data->ntrips; i++)\n" - "> +\t\tif (data->trips[i].type == THERMAL_TRIP_CRITICAL) {\n" + "> +\t\tif (data->trips[i].type = THERMAL_TRIP_CRITICAL) {\n" "> +\t\t\t*temp = data->trips[i].temperature;\n" "> +\t\t\treturn 0;\n" "> +\t\t}\n" @@ -1025,8 +1024,8 @@ "> +\t\tif (sensor_specs.args_count < 1)\n" "> +\t\t\tcontinue;\n" "> +\n" - "> +\t\tif (sensor_specs.np == sensor_np &&\n" - "> +\t\t sensor_specs.args[0] == sensor_id) {\n" + "> +\t\tif (sensor_specs.np = sensor_np &&\n" + "> +\t\t sensor_specs.args[0] = sensor_id) {\n" "> +\t\t\tof_node_put(np);\n" "> +\t\t\treturn thermal_zone_of_add_sensor(child, sensor_np,\n" "> +\t\t\t\t\t\t\t data,\n" @@ -1109,7 +1108,7 @@ "> +\t/* Default weight. Usage is optional */\n" "> +\t__tbp->usage = 0;\n" "> +\tret = of_property_read_u32(np, \"usage\", &prop);\n" - "> +\tif (ret == 0)\n" + "> +\tif (ret = 0)\n" "> +\t\t__tbp->usage = prop;\n" "> +\n" "> +\ttrip = of_parse_phandle(np, \"trip\", 0);\n" @@ -1120,12 +1119,12 @@ "> +\n" "> +\t/* match using device_node */\n" "> +\tfor (i = 0; i < ntrips; i++)\n" - "> +\t\tif (trip == trips[i].np) {\n" + "> +\t\tif (trip = trips[i].np) {\n" "> +\t\t\t__tbp->trip_id = i;\n" "> +\t\t\tbreak;\n" "> +\t\t}\n" "> +\n" - "> +\tif (i == ntrips) {\n" + "> +\tif (i = ntrips) {\n" "> +\t\tret = -ENODEV;\n" "> +\t\tgoto end;\n" "> +\t}\n" @@ -1517,6 +1516,11 @@ "> -- \n" "> 1.8.2.1.342.gfa7285d\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 -c96779592c978be43bdd86cd141dc49ae234adc04d058bfd716af6c345526281 +8cc81b37be423c96f0629b8abe34d69e3cf5ffcf60d798b6711b6b21f6781b53
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.