Commit 999c8397 authored by Rajneesh Bhardwaj's avatar Rajneesh Bhardwaj Committed by Andy Shevchenko

platform/x86: intel_telemetry: Fix typos

Telemetry word is misspelled several times in this file as Telemtry. This
fixes the spelling mistake and folds in another minor typo.
Signed-off-by: default avatarRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 2cb81ac0
...@@ -256,7 +256,7 @@ static int telemetry_check_evtid(enum telemetry_unit telem_unit, ...@@ -256,7 +256,7 @@ static int telemetry_check_evtid(enum telemetry_unit telem_unit,
break; break;
default: default:
pr_err("Unknown Telemetry action Specified %d\n", action); pr_err("Unknown Telemetry action specified %d\n", action);
return -EINVAL; return -EINVAL;
} }
...@@ -659,7 +659,7 @@ static int telemetry_setup(struct platform_device *pdev) ...@@ -659,7 +659,7 @@ static int telemetry_setup(struct platform_device *pdev)
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
TELEM_RESET); TELEM_RESET);
if (ret) { if (ret) {
dev_err(&pdev->dev, "TELEMTRY Setup Failed\n"); dev_err(&pdev->dev, "TELEMETRY Setup Failed\n");
return ret; return ret;
} }
return 0; return 0;
...@@ -685,7 +685,7 @@ static int telemetry_plt_update_events(struct telemetry_evtconfig pss_evtconfig, ...@@ -685,7 +685,7 @@ static int telemetry_plt_update_events(struct telemetry_evtconfig pss_evtconfig,
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
TELEM_UPDATE); TELEM_UPDATE);
if (ret) if (ret)
pr_err("TELEMTRY Config Failed\n"); pr_err("TELEMETRY Config Failed\n");
return ret; return ret;
} }
...@@ -822,7 +822,7 @@ static int telemetry_plt_reset_events(void) ...@@ -822,7 +822,7 @@ static int telemetry_plt_reset_events(void)
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
TELEM_RESET); TELEM_RESET);
if (ret) if (ret)
pr_err("TELEMTRY Reset Failed\n"); pr_err("TELEMETRY Reset Failed\n");
return ret; return ret;
} }
...@@ -885,7 +885,7 @@ static int telemetry_plt_add_events(u8 num_pss_evts, u8 num_ioss_evts, ...@@ -885,7 +885,7 @@ static int telemetry_plt_add_events(u8 num_pss_evts, u8 num_ioss_evts,
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
TELEM_ADD); TELEM_ADD);
if (ret) if (ret)
pr_err("TELEMTRY ADD Failed\n"); pr_err("TELEMETRY ADD Failed\n");
return ret; return ret;
} }
...@@ -1195,7 +1195,7 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev) ...@@ -1195,7 +1195,7 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev)
ret = telemetry_set_pltdata(&telm_pltops, telm_conf); ret = telemetry_set_pltdata(&telm_pltops, telm_conf);
if (ret) { if (ret) {
dev_err(&pdev->dev, "TELEMTRY Set Pltops Failed.\n"); dev_err(&pdev->dev, "TELEMETRY Set Pltops Failed.\n");
goto out; goto out;
} }
...@@ -1210,7 +1210,7 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev) ...@@ -1210,7 +1210,7 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev)
iounmap(telm_conf->pss_config.regmap); iounmap(telm_conf->pss_config.regmap);
if (telm_conf->ioss_config.regmap) if (telm_conf->ioss_config.regmap)
iounmap(telm_conf->ioss_config.regmap); iounmap(telm_conf->ioss_config.regmap);
dev_err(&pdev->dev, "TELEMTRY Setup Failed.\n"); dev_err(&pdev->dev, "TELEMETRY Setup Failed.\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment