modules: temperature: Fix spelling for temperature module.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4500
This commit is contained in:
Al Poole 2017-02-13 11:18:50 +01:00 committed by Stefan Schmidt
parent 8211a6f0e1
commit 5388ea5f42
1 changed files with 9 additions and 9 deletions

View File

@ -114,7 +114,7 @@ _temperature_apply(Config_Face *inst, int temp)
#ifdef HAVE_EEZE #ifdef HAVE_EEZE
static Eina_Bool static Eina_Bool
_temprature_udev_poll(void *data) _temperature_udev_poll(void *data)
{ {
Tempthread *tth = data; Tempthread *tth = data;
int temp = temperature_udev_get(tth); int temp = temperature_udev_get(tth);
@ -323,7 +323,7 @@ _temperature_face_id_max(const Eina_Hash *hash EINA_UNUSED, const void *key, voi
} }
static void static void
_temprature_check_main(void *data, Ecore_Thread *th) _temperature_check_main(void *data, Ecore_Thread *th)
{ {
Tempthread *tth = data; Tempthread *tth = data;
int ptemp = -500, temp; int ptemp = -500, temp;
@ -340,7 +340,7 @@ _temprature_check_main(void *data, Ecore_Thread *th)
} }
static void static void
_temprature_check_notify(void *data, Ecore_Thread *th, void *msg) _temperature_check_notify(void *data, Ecore_Thread *th, void *msg)
{ {
Tempthread *tth = data; Tempthread *tth = data;
Config_Face *inst = tth->inst; Config_Face *inst = tth->inst;
@ -351,7 +351,7 @@ _temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
} }
static void static void
_temprature_check_done(void *data, Ecore_Thread *th EINA_UNUSED) _temperature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
{ {
_temperature_thread_free(data); _temperature_thread_free(data);
} }
@ -374,15 +374,15 @@ temperature_face_update_config(Config_Face *inst)
if (inst->backend != TEMPGET) if (inst->backend != TEMPGET)
{ {
inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval, inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval,
_temprature_udev_poll, tth); _temperature_udev_poll, tth);
inst->tth = tth; inst->tth = tth;
} }
else else
#endif #endif
inst->th = ecore_thread_feedback_run(_temprature_check_main, inst->th = ecore_thread_feedback_run(_temperature_check_main,
_temprature_check_notify, _temperature_check_notify,
_temprature_check_done, _temperature_check_done,
_temprature_check_done, _temperature_check_done,
tth, EINA_TRUE); tth, EINA_TRUE);
} }