2.0 alpha
[platform/core/system/devman.git] / devices / led.c
old mode 100755 (executable)
new mode 100644 (file)
index 69992f1..378665d
 static int get_led_prop(int prop, int *val)
 {
        switch (prop) {
-               case LED_PROP_BRIGHTNESS:
-                       return plugin_intf->OEM_sys_get_leds_torch_brightness(val);
-               case LED_PROP_MAX_BRIGHTNESS:
-                       return plugin_intf->OEM_sys_get_leds_torch_max_brightness(val);
+       case LED_PROP_BRIGHTNESS:
+               return plugin_intf->OEM_sys_get_leds_torch_brightness(val);
+       case LED_PROP_MAX_BRIGHTNESS:
+               return plugin_intf->OEM_sys_get_leds_torch_max_brightness(val);
        }
        return -1;
 }
@@ -37,8 +37,8 @@ static int get_led_prop(int prop, int *val)
 static int set_led_prop(int prop, int val)
 {
        switch (prop) {
-               case LED_PROP_BRIGHTNESS:
-                       return plugin_intf->OEM_sys_set_leds_torch_brightness(val);
+       case LED_PROP_BRIGHTNESS:
+               return plugin_intf->OEM_sys_set_leds_torch_brightness(val);
        }
        return -1;
 }