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;
}
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;
}