diff for duplicates of <20131007205120.GA2330@kartoffel> diff --git a/a/1.txt b/N1/1.txt index 9fffd62..fa8747b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -408,8 +408,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + }; > + map2 { > + trip = <&cpu-alert1>; -> + cooling-device = -> + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>; +> + cooling-device > + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>; > + }; > + }; > + }; @@ -910,7 +909,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + 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, @@ -938,7 +937,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + 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, @@ -968,7 +967,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + > + 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; @@ -1055,7 +1054,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + 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; > + } @@ -1176,7 +1175,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + id = 0; > + } > + -> + if (sensor_specs.np == sensor_np && id == sensor_id) { +> + if (sensor_specs.np = sensor_np && id = sensor_id) { > + of_node_put(np); > + return thermal_zone_of_add_sensor(child, sensor_np, > + data, @@ -1259,7 +1258,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + /* Default weight. Usage is optional */ > + __tbp->usage = 0; > + ret = of_property_read_u32(np, "contribution", &prop); -> + if (ret == 0) +> + if (ret = 0) > + __tbp->usage = prop; > + > + trip = of_parse_phandle(np, "trip", 0); @@ -1270,12 +1269,12 @@ The type is wrong here. A list of phandle + sensor specifiers. > + > + /* 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; > + } @@ -1435,7 +1434,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + goto finish; > + > + tz->ntrips = of_get_child_count(child); -> + if (tz->ntrips == 0) /* must have at least one child */ +> + if (tz->ntrips = 0) /* must have at least one child */ > + goto finish; > + > + tz->trips = kzalloc(tz->ntrips * sizeof(*tz->trips), GFP_KERNEL); @@ -1461,7 +1460,7 @@ The type is wrong here. A list of phandle + sensor specifiers. > + goto finish; > + > + tz->num_tbps = of_get_child_count(child); -> + if (tz->num_tbps == 0) +> + if (tz->num_tbps = 0) > + goto finish; > + > + tz->tbps = kzalloc(tz->num_tbps * sizeof(*tz->tbps), GFP_KERNEL); @@ -1762,3 +1761,8 @@ Mark. > 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 82b29db..809ca79 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01380251605-3804-4-git-send-email-eduardo.valentin@ti.com\0" "ref\01380595166-13807-1-git-send-email-eduardo.valentin@ti.com\0" "From\0Mark Rutland <mark.rutland@arm.com>\0" - "Subject\0Re: [PATCHv8 03/18] thermal: introduce device tree parser\0" - "Date\0Mon, 7 Oct 2013 21:51:21 +0100\0" + "Subject\0Re: [lm-sensors] [PATCHv8 03/18] thermal: introduce device tree parser\0" + "Date\0Mon, 07 Oct 2013 20:51:21 +0000\0" "To\0Eduardo Valentin <eduardo.valentin@ti.com>" swarren@wwwdotorg.org <swarren@wwwdotorg.org> Pawel Moll <Pawel.Moll@arm.com> @@ -429,8 +429,7 @@ "> + };\n" "> + map2 {\n" "> + trip = <&cpu-alert1>;\n" - "> + cooling-device =\n" - "> + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>;\n" + "> + cooling-device > + <&cpu0 THERMAL_NO_LIMITS THERMAL_NO_LIMITS>;\n" "> + };\n" "> + };\n" "> + };\n" @@ -931,7 +930,7 @@ "> + for (i = 0; i < data->num_tbps; i++) {\n" "> + struct __thermal_bind_params *tbp = data->tbps + i;\n" "> +\n" - "> + if (tbp->cooling_device == cdev->np) {\n" + "> + if (tbp->cooling_device = cdev->np) {\n" "> + int ret;\n" "> +\n" "> + ret = thermal_zone_bind_cooling_device(thermal,\n" @@ -959,7 +958,7 @@ "> + for (i = 0; i < data->num_tbps; i++) {\n" "> + struct __thermal_bind_params *tbp = data->tbps + i;\n" "> +\n" - "> + if (tbp->cooling_device == cdev->np) {\n" + "> + if (tbp->cooling_device = cdev->np) {\n" "> + int ret;\n" "> +\n" "> + ret = thermal_zone_unbind_cooling_device(thermal,\n" @@ -989,7 +988,7 @@ "> +\n" "> + mutex_lock(&tz->lock);\n" "> +\n" - "> + if (mode == THERMAL_DEVICE_ENABLED)\n" + "> + if (mode = THERMAL_DEVICE_ENABLED)\n" "> + tz->polling_delay = data->polling_delay;\n" "> + else\n" "> + tz->polling_delay = 0;\n" @@ -1076,7 +1075,7 @@ "> + int i;\n" "> +\n" "> + for (i = 0; i < data->ntrips; i++)\n" - "> + if (data->trips[i].type == THERMAL_TRIP_CRITICAL) {\n" + "> + if (data->trips[i].type = THERMAL_TRIP_CRITICAL) {\n" "> + *temp = data->trips[i].temperature;\n" "> + return 0;\n" "> + }\n" @@ -1197,7 +1196,7 @@ "> + id = 0;\n" "> + }\n" "> +\n" - "> + if (sensor_specs.np == sensor_np && id == sensor_id) {\n" + "> + if (sensor_specs.np = sensor_np && id = sensor_id) {\n" "> + of_node_put(np);\n" "> + return thermal_zone_of_add_sensor(child, sensor_np,\n" "> + data,\n" @@ -1280,7 +1279,7 @@ "> + /* Default weight. Usage is optional */\n" "> + __tbp->usage = 0;\n" "> + ret = of_property_read_u32(np, \"contribution\", &prop);\n" - "> + if (ret == 0)\n" + "> + if (ret = 0)\n" "> + __tbp->usage = prop;\n" "> +\n" "> + trip = of_parse_phandle(np, \"trip\", 0);\n" @@ -1291,12 +1290,12 @@ "> +\n" "> + /* match using device_node */\n" "> + for (i = 0; i < ntrips; i++)\n" - "> + if (trip == trips[i].np) {\n" + "> + if (trip = trips[i].np) {\n" "> + __tbp->trip_id = i;\n" "> + break;\n" "> + }\n" "> +\n" - "> + if (i == ntrips) {\n" + "> + if (i = ntrips) {\n" "> + ret = -ENODEV;\n" "> + goto end;\n" "> + }\n" @@ -1456,7 +1455,7 @@ "> + goto finish;\n" "> +\n" "> + tz->ntrips = of_get_child_count(child);\n" - "> + if (tz->ntrips == 0) /* must have at least one child */\n" + "> + if (tz->ntrips = 0) /* must have at least one child */\n" "> + goto finish;\n" "> +\n" "> + tz->trips = kzalloc(tz->ntrips * sizeof(*tz->trips), GFP_KERNEL);\n" @@ -1482,7 +1481,7 @@ "> + goto finish;\n" "> +\n" "> + tz->num_tbps = of_get_child_count(child);\n" - "> + if (tz->num_tbps == 0)\n" + "> + if (tz->num_tbps = 0)\n" "> + goto finish;\n" "> +\n" "> + tz->tbps = kzalloc(tz->num_tbps * sizeof(*tz->tbps), GFP_KERNEL);\n" @@ -1782,6 +1781,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 -e0a142787fa905d11647219140cef7998be34f0c9e3824d97dcf3156e2c4f56b +b10460168b7448d466ca956932e61138af68a2efe1cde939b94cf6b60fdb0da6
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.