]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
platform/x86: intel_telemetry: Fix typos
authorRajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Tue, 10 Oct 2017 10:05:18 +0000 (15:35 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Oct 2017 17:01:52 +0000 (20:01 +0300)
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>
drivers/platform/x86/intel_telemetry_pltdrv.c

index 136507a0d391919c212bc651d0c8a4c4ca26f0ef..3daf92e1282f8869b0e959f2cb2fe0cec8163441 100644 (file)
@@ -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 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev)
                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;
 }