[FIX] remove mistyping
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 14 Nov 2013 13:09:20 +0000 (17:09 +0400)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 15 Nov 2013 09:59:09 +0000 (09:59 +0000)
Change-Id: I27e14f46630d3f2902d5616d6c8825eb2dfefee8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
energy/lcd/lcd_base.c
energy/lcd/lcd_base.h
energy/lcd/maru.c

index 3c7d7b4..2b0a36b 100644 (file)
@@ -156,7 +156,7 @@ static DEFINE_MUTEX(lcd_lock);
 static void add_lcd(struct lcd_ops *ops)
 {
        ops->priv = create_lcd_priv(ops);
-       ops->notifler = func_notifier_lcd;
+       ops->notifier = func_notifier_lcd;
        set_brightness(ops, ops->get(ops, LPD_BRIGHTNESS));
 
        INIT_LIST_HEAD(&ops->list);
index ae0c452..5da1fc2 100644 (file)
@@ -33,7 +33,7 @@ enum lcd_action_type {
        LAT_BRIGHTNESS
 };
 
-enum lcd_paramerer_type {
+enum lcd_parameter_type {
        LPD_MIN_BRIGHTNESS,
        LPD_MAX_BRIGHTNESS,
        LPD_BRIGHTNESS
@@ -45,7 +45,7 @@ typedef int (*check_lcd)(void);
 typedef int (*notifier_lcd)(struct lcd_ops *ops, enum lcd_action_type action,
                            void *data);
 typedef unsigned long (*get_parameter_lcd)(struct lcd_ops *ops,
-                                          enum lcd_paramerer_type type);
+                                          enum lcd_parameter_type type);
 
 
 struct lcd_ops {
@@ -53,7 +53,7 @@ struct lcd_ops {
 
        char *name;
        check_lcd check;
-       notifier_lcd notifler;
+       notifier_lcd notifier;
        get_parameter_lcd get;
 
        void *priv;
index 9880804..30563e2 100644 (file)
@@ -59,7 +59,7 @@ static int maru_check(void)
 }
 
 static unsigned long maru_get_parameter(struct lcd_ops *ops,
-                                       enum lcd_paramerer_type type)
+                                       enum lcd_parameter_type type)
 {
        switch (type) {
        case LPD_MIN_BRIGHTNESS:
@@ -105,8 +105,8 @@ static int ret_handler_set_backlight(struct kretprobe_instance *ri,
        int ret = regs_return_value(regs);
        int *brightness = (int *)ri->data;
 
-       if (!ret && ops.notifler)
-               ops.notifler(&ops, LAT_BRIGHTNESS, (void *)*brightness);
+       if (!ret && ops.notifier)
+               ops.notifier(&ops, LAT_BRIGHTNESS, (void *)*brightness);
 
        return 0;
 }