diff for duplicates of <20100704135010.GA21500@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index bb141be..dbce436 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -62,11 +62,13 @@ attribute file. > > W83627EHF_REG_FAN_STOP_TIME[i]); > > + > > + if (data->REG_FAN_MAX_OUTPUT[i] != 0xff) -> > + data->fan_max_output[i] > > + w83627ehf_read_value(data, +> > + data->fan_max_output[i] = +> > + w83627ehf_read_value(data, > > + data->REG_FAN_MAX_OUTPUT[i]); > > + > > + if (data->REG_FAN_STEP_OUTPUT[i] != 0xff) -> > + data->fan_step_output[i] > > + w83627ehf_read_value(data, +> > + data->fan_step_output[i] = +> > + w83627ehf_read_value(data, > > + data->REG_FAN_STEP_OUTPUT[i]); > > + > @@ -81,7 +83,8 @@ This one, yes. > No idea, really. -> > data->target_temp[i] > > w83627ehf_read_value(data, +> > data->target_temp[i] = +> > w83627ehf_read_value(data, > > W83627EHF_REG_TARGET[i]) & > > @@ -1126,7 +1145,7 @@ store_##reg(struct device *dev, struct device_attribute *attr, \ > > u32 val = SENSORS_LIMIT(simple_strtoul(buf, NULL, 10), 1, 255); \ @@ -125,7 +128,8 @@ No idea, really. > > for (i = 0; i < ARRAY_SIZE(sda_sf3_arrays); i++) > > device_remove_file(dev, &sda_sf3_arrays[i].dev_attr); > > + for (i = 0; i < ARRAY_SIZE(sda_sf3_max_step_arrays); i++) { -> > + struct sensor_device_attribute *attr > > + &sda_sf3_max_step_arrays[i]; +> > + struct sensor_device_attribute *attr = +> > + &sda_sf3_max_step_arrays[i]; > > + if (data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff) > > + device_remove_file(dev, &attr->dev_attr); > > + } @@ -149,7 +153,8 @@ No idea, really. > > goto exit_remove; > > > > + for (i = 0; i < ARRAY_SIZE(sda_sf3_max_step_arrays); i++) { -> > + struct sensor_device_attribute *attr > > + &sda_sf3_max_step_arrays[i]; +> > + struct sensor_device_attribute *attr = +> > + &sda_sf3_max_step_arrays[i]; > > + if (data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff) { > > + err = device_create_file(dev, &attr->dev_attr); > > + if (err) @@ -166,8 +171,3 @@ No idea, really. Thanks Guenter - -_______________________________________________ -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 fefe22c..e7f93bd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\01278195202-2683-2-git-send-email-guenter.roeck@ericsson.com\0" "ref\020100704132442.07a5ef40@hyperion.delvare\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH v4 1/2] hwmon: w83627ehf driver cleanup\0" - "Date\0Sun, 04 Jul 2010 13:50:10 +0000\0" + "Subject\0Re: [PATCH v4 1/2] hwmon: w83627ehf driver cleanup\0" + "Date\0Sun, 4 Jul 2010 06:50:10 -0700\0" "To\0Jean Delvare <khali@linux-fr.org>\0" "Cc\0Andrew Morton <akpm@linux-foundation.org>" Ethan Lawrence <e.law87@yahoo.com> @@ -82,11 +82,13 @@ "> > \t\t\t\t\t\tW83627EHF_REG_FAN_STOP_TIME[i]);\n" "> > +\n" "> > +\t\t\tif (data->REG_FAN_MAX_OUTPUT[i] != 0xff)\n" - "> > +\t\t\t\tdata->fan_max_output[i] > > +\t\t\t\t w83627ehf_read_value(data,\n" + "> > +\t\t\t\tdata->fan_max_output[i] =\n" + "> > +\t\t\t\t w83627ehf_read_value(data,\n" "> > +\t\t\t\t\t data->REG_FAN_MAX_OUTPUT[i]);\n" "> > +\n" "> > +\t\t\tif (data->REG_FAN_STEP_OUTPUT[i] != 0xff)\n" - "> > +\t\t\t\tdata->fan_step_output[i] > > +\t\t\t\t w83627ehf_read_value(data,\n" + "> > +\t\t\t\tdata->fan_step_output[i] =\n" + "> > +\t\t\t\t w83627ehf_read_value(data,\n" "> > +\t\t\t\t\t data->REG_FAN_STEP_OUTPUT[i]);\n" "> > +\n" "> \n" @@ -101,7 +103,8 @@ "> \n" "No idea, really.\n" "\n" - "> > \t\t\tdata->target_temp[i] > > \t\t\t\tw83627ehf_read_value(data,\n" + "> > \t\t\tdata->target_temp[i] =\n" + "> > \t\t\t\tw83627ehf_read_value(data,\n" "> > \t\t\t\t\tW83627EHF_REG_TARGET[i]) &\n" "> > @@ -1126,7 +1145,7 @@ store_##reg(struct device *dev, struct device_attribute *attr, \\\n" "> > \tu32 val = SENSORS_LIMIT(simple_strtoul(buf, NULL, 10), 1, 255); \\\n" @@ -145,7 +148,8 @@ "> > \tfor (i = 0; i < ARRAY_SIZE(sda_sf3_arrays); i++)\n" "> > \t\tdevice_remove_file(dev, &sda_sf3_arrays[i].dev_attr);\n" "> > +\tfor (i = 0; i < ARRAY_SIZE(sda_sf3_max_step_arrays); i++) {\n" - "> > +\t\tstruct sensor_device_attribute *attr > > +\t\t &sda_sf3_max_step_arrays[i];\n" + "> > +\t\tstruct sensor_device_attribute *attr =\n" + "> > +\t\t &sda_sf3_max_step_arrays[i];\n" "> > +\t\tif (data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff)\n" "> > +\t\t\tdevice_remove_file(dev, &attr->dev_attr);\n" "> > +\t}\n" @@ -169,7 +173,8 @@ "> > \t\t\tgoto exit_remove;\n" "> > \n" "> > +\tfor (i = 0; i < ARRAY_SIZE(sda_sf3_max_step_arrays); i++) {\n" - "> > +\t\tstruct sensor_device_attribute *attr > > +\t\t &sda_sf3_max_step_arrays[i];\n" + "> > +\t\tstruct sensor_device_attribute *attr =\n" + "> > +\t\t &sda_sf3_max_step_arrays[i];\n" "> > +\t\tif (data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff) {\n" "> > +\t\t\terr = device_create_file(dev, &attr->dev_attr);\n" "> > +\t\t\tif (err)\n" @@ -185,11 +190,6 @@ "> \n" "Thanks\n" "\n" - "Guenter\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Guenter -422b9dd0c279ec1bb90dc4b27cd8debef7847d8a2a7ce9904d31206fca924935 +286a28568bc1f798d9a0841e99c62375c1faaa6486670b431f3d0db1632d1154
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.