2023-12-15 11:28:08

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] platform/x86: silicom-platform: Fix spelling mistake "platfomr" -> "platform"

There is a spelling mistake in a literal string. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/platform/x86/silicom-platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/silicom-platform.c b/drivers/platform/x86/silicom-platform.c
index 84b92b3f9f4b..6ce43ccb3112 100644
--- a/drivers/platform/x86/silicom-platform.c
+++ b/drivers/platform/x86/silicom-platform.c
@@ -866,7 +866,7 @@ static int silicom_fan_control_read_labels(struct device *dev,
{
switch (type) {
case hwmon_fan:
- *str = "Silicom_platfomr: Fan Speed";
+ *str = "Silicom_platform: Fan Speed";
return 0;
case hwmon_temp:
*str = "Silicom_platform: Thermostat Sensor";
--
2.39.2



2023-12-15 11:41:01

by Ilpo Järvinen

[permalink] [raw]
Subject: Re: [PATCH][next] platform/x86: silicom-platform: Fix spelling mistake "platfomr" -> "platform"

On Fri, 15 Dec 2023, Colin Ian King wrote:

> There is a spelling mistake in a literal string. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/platform/x86/silicom-platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/silicom-platform.c b/drivers/platform/x86/silicom-platform.c
> index 84b92b3f9f4b..6ce43ccb3112 100644
> --- a/drivers/platform/x86/silicom-platform.c
> +++ b/drivers/platform/x86/silicom-platform.c
> @@ -866,7 +866,7 @@ static int silicom_fan_control_read_labels(struct device *dev,
> {
> switch (type) {
> case hwmon_fan:
> - *str = "Silicom_platfomr: Fan Speed";
> + *str = "Silicom_platform: Fan Speed";
> return 0;
> case hwmon_temp:
> *str = "Silicom_platform: Thermostat Sensor";
>

Reviewed-by: Ilpo Järvinen <[email protected]>


--
i.

2023-12-18 14:12:06

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH][next] platform/x86: silicom-platform: Fix spelling mistake "platfomr" -> "platform"

Hi,

On 12/15/23 12:27, Colin Ian King wrote:
> There is a spelling mistake in a literal string. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans


> ---
> drivers/platform/x86/silicom-platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/silicom-platform.c b/drivers/platform/x86/silicom-platform.c
> index 84b92b3f9f4b..6ce43ccb3112 100644
> --- a/drivers/platform/x86/silicom-platform.c
> +++ b/drivers/platform/x86/silicom-platform.c
> @@ -866,7 +866,7 @@ static int silicom_fan_control_read_labels(struct device *dev,
> {
> switch (type) {
> case hwmon_fan:
> - *str = "Silicom_platfomr: Fan Speed";
> + *str = "Silicom_platform: Fan Speed";
> return 0;
> case hwmon_temp:
> *str = "Silicom_platform: Thermostat Sensor";