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: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Родитель
2cb81ac078
Коммит
999c8397df
|
@ -256,7 +256,7 @@ static int telemetry_check_evtid(enum telemetry_unit telem_unit,
|
|||
break;
|
||||
|
||||
default:
|
||||
pr_err("Unknown Telemetry action Specified %d\n", action);
|
||||
pr_err("Unknown Telemetry action specified %d\n", action);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -659,7 +659,7 @@ static int telemetry_setup(struct platform_device *pdev)
|
|||
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
|
||||
TELEM_RESET);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "TELEMTRY Setup Failed\n");
|
||||
dev_err(&pdev->dev, "TELEMETRY Setup Failed\n");
|
||||
return ret;
|
||||
}
|
||||
return 0;
|
||||
|
@ -685,7 +685,7 @@ static int telemetry_plt_update_events(struct telemetry_evtconfig pss_evtconfig,
|
|||
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
|
||||
TELEM_UPDATE);
|
||||
if (ret)
|
||||
pr_err("TELEMTRY Config Failed\n");
|
||||
pr_err("TELEMETRY Config Failed\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -822,7 +822,7 @@ static int telemetry_plt_reset_events(void)
|
|||
ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig,
|
||||
TELEM_RESET);
|
||||
if (ret)
|
||||
pr_err("TELEMTRY Reset Failed\n");
|
||||
pr_err("TELEMETRY Reset Failed\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -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,
|
||||
TELEM_ADD);
|
||||
if (ret)
|
||||
pr_err("TELEMTRY ADD Failed\n");
|
||||
pr_err("TELEMETRY ADD Failed\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -1195,7 +1195,7 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev)
|
|||
|
||||
ret = telemetry_set_pltdata(&telm_pltops, telm_conf);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "TELEMTRY Set Pltops Failed.\n");
|
||||
dev_err(&pdev->dev, "TELEMETRY Set Pltops Failed.\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
@ -1210,7 +1210,7 @@ out:
|
|||
iounmap(telm_conf->pss_config.regmap);
|
||||
if (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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче