drivers: fixed spelling of "celcius" to "celsius"
Subsystems (7)
PATCH 1/1 drivers: fixed spelling of "celcius" to "celsius"
Fixed spelling issue -- changed celcius to celsius
Kernel version: mainline
--- drivers/gpu/drm/nouveau/core/engine/graph/nv10.c | 4 ++-- drivers/gpu/drm/nouveau/core/engine/graph/nv20.c | 2 +- drivers/gpu/drm/nouveau/core/engine/graph/nv25.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 2 +- drivers/power/ds2780_battery.c | 2 +- drivers/power/ds2782_battery.c | 2 +- drivers/thermal/thermal_core.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)
drivers/gpu/drm/nouveau/core/engine/graph/nv10.c +2 -2
@@ -451,7 +451,7 @@ nv10_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0056, &nv04_graph_ofuncs }, /* celcius */ + { 0x0056, &nv04_graph_ofuncs }, /* celsius */ {}, };
@@ -474,7 +474,7 @@ nv15_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0096, &nv04_graph_ofuncs }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs }, /* celsius */ {}, };
drivers/gpu/drm/nouveau/core/engine/graph/nv20.c +1 -1
@@ -31,7 +31,7 @@ nv20_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x0097, &nv04_graph_ofuncs, NULL }, /* kelvin */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */
drivers/gpu/drm/nouveau/core/engine/graph/nv25.c +1 -1
@@ -28,7 +28,7 @@ nv25_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */ { 0x0597, &nv04_graph_ofuncs, NULL }, /* kelvin */
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c +1 -1
@@ -1264,7 +1264,7 @@ static ssize_t qlcnic_hwmon_show_temp(struct device *dev, value =QLC_SHARED_REG_RD32 (adapter,QLCNIC_ASIC_TEMP ); temperature =qlcnic_get_temp_val (value); -/* display millidegree celcius */ +/* display millidegree celsius */ temperature *=1000 ;return sprintf (buf,"%u\n" , temperature); }
drivers/power/ds2780_battery.c +1 -1
@@ -210,7 +210,7 @@ static int ds2780_get_temperature(struct ds2780_device_info *dev_info,return ret;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus * sign in the upper bits of a 16 bit register.
drivers/power/ds2782_battery.c +1 -1
@@ -104,7 +104,7 @@ static int ds278x_get_temp(struct ds278x_info *info, int *temp)int err;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus * sign in the upper bits of a 16 bit register.
drivers/thermal/thermal_core.c +1 -1
@@ -691,7 +691,7 @@ passive_store(struct device *dev, struct device_attribute *attr,if (!sscanf (buf,"%d\n" , &state))return -EINVAL ; -/* sanity check: values below 1000 millicelcius don't make sense +/* sanity check: values below 1000 millicelsius don't make sense * and can cause the system to go into a thermal heart attack */ if (state && state <1000 )
Signature · 1 line
1.8.3.4 (Apple Git-47)
Hello Ankit,
Quoted 5 lines · Ankit
Fixed spelling issue -- changed celcius to celsius
Kernel version: mainline
Signed-off-by Ankit <[email protected]>
On the thermal part,
but I think might be worth splitting the change per domain, so we avoid merge conflicts. The change is just one liner though.
Quoted 113 lines
--- drivers/gpu/drm/nouveau/core/engine/graph/nv10.c | 4 ++-- drivers/gpu/drm/nouveau/core/engine/graph/nv20.c | 2 +- drivers/gpu/drm/nouveau/core/engine/graph/nv25.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 2 +- drivers/power/ds2780_battery.c | 2 +- drivers/power/ds2782_battery.c | 2 +- drivers/thermal/thermal_core.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)drivers/gpu/drm/nouveau/core/engine/graph/nv10.c +2
-2@@ -451,7 +451,7 @@ nv10_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0056, &nv04_graph_ofuncs }, /* celcius */ + { 0x0056, &nv04_graph_ofuncs }, /* celsius */ {}, };@@ -474,7 +474,7 @@ nv15_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0096, &nv04_graph_ofuncs }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs }, /* celsius */ {}, };drivers/gpu/drm/nouveau/core/engine/graph/nv20.c +1
-1@@ -31,7 +31,7 @@ nv20_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x0097, &nv04_graph_ofuncs, NULL }, /* kelvin */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */drivers/gpu/drm/nouveau/core/engine/graph/nv25.c +1
-1@@ -28,7 +28,7 @@ nv25_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */ { 0x0597, &nv04_graph_ofuncs, NULL }, /* kelvin */drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c +1
-1@@ -1264,7 +1264,7 @@ static ssize_t qlcnic_hwmon_show_temp(struct device *dev, value =QLC_SHARED_REG_RD32 (adapter,QLCNIC_ASIC_TEMP ); temperature =qlcnic_get_temp_val (value); -/* display millidegree celcius */ +/* display millidegree celsius */ temperature *=1000 ;return sprintf (buf,"%u\n" , temperature); }drivers/power/ds2780_battery.c +1
-1@@ -210,7 +210,7 @@ static int ds2780_get_temperature(struct ds2780_device_info *dev_info,return ret;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus * sign in the upper bits of a 16 bit register. drivers/power/ds2782_battery.c +1
-1@@ -104,7 +104,7 @@ static int ds278x_get_temp(struct ds278x_info *info, int *temp)int err;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus * sign in the upper bits of a 16 bit register. drivers/thermal/thermal_core.c +1
-2@@ -691,7 +691,7 @@ passive_store(struct device *dev, struct device_attribute *attr,if (!sscanf (buf,"%d\n" , &state))return -EINVAL ; -/* sanity check: values below 1000 millicelcius don't make sense +/* sanity check: values below 1000 millicelsius don't make sense * and can cause the system to go into a thermal heart attack */ if (state && state <1000 ) --1.8.3.4 (Apple Git-47)
Signature · 1 line
Eduardo Bezerra Valentin
Hello Eduardo
Thank you for the advice. This is my first attempt so apologies if I made some mistake.
I will send changes separately for each domain.
Thanks
Ankit
Quoted 145 lines · On Sun, Aug 10, 2014 at 1:49 AM, [email protected] <[email protected]>…
Hello Ankit,
Quoted 5 lines · Ankit
Fixed spelling issue -- changed celcius to celsius
Kernel version: mainline
Signed-off-by Ankit <[email protected]>On the thermal part,
Acked-by Eduardo Valentin <[email protected]>but I think might be worth splitting the change per domain, so we avoid merge conflicts. The change is just one liner though.
Review
Quoted 11 lines
--- drivers/gpu/drm/nouveau/core/engine/graph/nv10.c | 4 ++-- drivers/gpu/drm/nouveau/core/engine/graph/nv20.c | 2 +- drivers/gpu/drm/nouveau/core/engine/graph/nv25.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 2 +- drivers/power/ds2780_battery.c | 2 +- drivers/power/ds2782_battery.c | 2 +- drivers/thermal/thermal_core.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/nouveau/core/engine/graph/nv10.cReview
Quoted 22 lines
index 4532f7e..1faeeb1 100644
drivers/gpu/drm/nouveau/core/engine/graph/nv10.c +2
-2@@ -451,7 +451,7 @@ nv10_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0056, &nv04_graph_ofuncs }, /* celcius */ + { 0x0056, &nv04_graph_ofuncs }, /* celsius */ {}, };@@ -474,7 +474,7 @@ nv15_graph_sclass[] = { { 0x0093, &nv04_graph_ofuncs }, /* surf3d */ { 0x0094, &nv04_graph_ofuncs }, /* ttri */ { 0x0095, &nv04_graph_ofuncs }, /* mtri */ - { 0x0096, &nv04_graph_ofuncs }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs }, /* celsius */ {}, };(quoted diff) +0
-0
b/drivers/gpu/drm/nouveau/core/engine/graph/nv20.cReview
Quoted 13 lines
index d145e08..eb00689 100644
drivers/gpu/drm/nouveau/core/engine/graph/nv20.c +1
-1@@ -31,7 +31,7 @@ nv20_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x0097, &nv04_graph_ofuncs, NULL }, /* kelvin */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */(quoted diff) +0
-0
b/drivers/gpu/drm/nouveau/core/engine/graph/nv25.cReview
Quoted 13 lines
index 7a80d00..fcfe1c5 100644
drivers/gpu/drm/nouveau/core/engine/graph/nv25.c +1
-1@@ -28,7 +28,7 @@ nv25_graph_sclass[] = { { 0x0072, &nv04_graph_ofuncs, NULL }, /* beta4 */ { 0x0089, &nv04_graph_ofuncs, NULL }, /* sifm */ { 0x008a, &nv04_graph_ofuncs, NULL }, /* ifc */ - { 0x0096, &nv04_graph_ofuncs, NULL }, /* celcius */ + { 0x0096, &nv04_graph_ofuncs, NULL }, /* celsius */ { 0x009e, &nv04_graph_ofuncs, NULL }, /* swzsurf */ { 0x009f, &nv04_graph_ofuncs, NULL }, /* imageblit */ { 0x0597, &nv04_graph_ofuncs, NULL }, /* kelvin */(quoted diff) +0
-0
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.cdrivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c static ssize_t qlcnic_hwmon_show_temp(struct
Quoted 4 lines
index f5786d5..b0f7ab0 100644
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c +0
-0@@ -1264,7 +1264,7 @@ static ssize_t qlcnic_hwmon_show_temp(structdevice *dev,
Review
Quoted 9 lines
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c +1
-1value =QLC_SHARED_REG_RD32 (adapter,QLCNIC_ASIC_TEMP ); temperature =qlcnic_get_temp_val (value); -/* display millidegree celcius */ +/* display millidegree celsius */ temperature *=1000 ;return sprintf (buf,"%u\n" , temperature); }(quoted diff) +0
-0
b/drivers/power/ds2780_battery.cdrivers/power/ds2780_battery.c static int ds2780_get_temperature(struct
Quoted 4 lines
index 9f418fa..bf7d4bd 100644
drivers/power/ds2780_battery.c +0
-0@@ -210,7 +210,7 @@ static int ds2780_get_temperature(struct
ds2780_device_info*dev_info,drivers/power/ds2780_battery.c static int ds2780_get_temperature(struct ds2780_device_info *dev_info,
Quoted 7 lines
drivers/power/ds2780_battery.c +1
-1return ret;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus
Review
Quoted 2 lines
drivers/power/ds2780_battery.c +0
-0* sign in the upper bits of a 16 bit register. (quoted diff) +0
-0
b/drivers/power/ds2782_battery.cdrivers/power/ds2782_battery.c static int ds278x_get_temp(struct ds278x_info *info,
Quoted 4 lines
index 041f9b6..adc7d32 100644
drivers/power/ds2782_battery.c +0
-0@@ -104,7 +104,7 @@ static int ds278x_get_temp(struct ds278x_info *info,int *temp)
drivers/power/ds2782_battery.c static int ds278x_get_temp(struct ds278x_info *info, int *temp)
Quoted 7 lines
drivers/power/ds2782_battery.c +1
-1int err;/* -* Temperature is measured in units of 0.125 degrees celcius, the +* Temperature is measured in units of 0.125 degrees celsius, the * power_supply class measures temperature in tenths of degrees * celsius. The temperature value is stored as a 10 bit number, plus
Review
Quoted 2 lines
drivers/power/ds2782_battery.c +0
-0* sign in the upper bits of a 16 bit register. (quoted diff) +0
-0
b/drivers/thermal/thermal_core.cdrivers/thermal/thermal_core.c passive_store(struct device *dev, struct
Quoted 4 lines
index 71b0ec0..e69db4f 100644
drivers/thermal/thermal_core.c +0
-0@@ -691,7 +691,7 @@ passive_store(struct device *dev, struct
device_attribute*attr,Quoted 11 lines
drivers/thermal/thermal_core.c +1
-2if (!sscanf (buf,"%d\n" , &state))return -EINVAL ; -/* sanity check: values below 1000 millicelcius don't make sense +/* sanity check: values below 1000 millicelsius don't make sense * and can cause the system to go into a thermal heart attack */ if (state && state <1000 ) --1.8.3.4 (Apple Git-47)
Quoted 3 lines
--
Eduardo Bezerra Valentin
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel