summaryrefslogtreecommitdiff
path: root/src/device-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device-plugin.c')
-rw-r--r--src/device-plugin.c126
1 files changed, 6 insertions, 120 deletions
diff --git a/src/device-plugin.c b/src/device-plugin.c
index 4289903..6a97129 100644
--- a/src/device-plugin.c
+++ b/src/device-plugin.c
@@ -153,31 +153,6 @@ static int OEM_sys_set_usb_path(int value)
return 0;
}
-static int OEM_sys_get_haptic_vibetones_level_max(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_get_haptic_vibetones_level(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_set_haptic_vibetones_level(int value)
-{
- return 0;
-}
-
-static int OEM_sys_set_haptic_vibetones_enable(int value)
-{
- return 0;
-}
-
-static int OEM_sys_set_haptic_vibetones_oneshot(int value)
-{
- return 0;
-}
-
static int OEM_sys_get_battery_capacity(int *value)
{
return 0;
@@ -288,71 +263,6 @@ static int OEM_sys_set_power_wakeup_count(int value)
return 0;
}
-static int OEM_sys_get_memnotify_node(char *node)
-{
- return 0;
-}
-
-static int OEM_sys_get_memnotify_victim_task(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_set_memnotify_threshold_lv1(int value)
-{
- return 0;
-}
-
-static int OEM_sys_set_memnotify_threshold_lv2(int value)
-{
- return 0;
-}
-
-static int OEM_sys_get_process_monitor_node(char *node)
-{
- return 0;
-}
-
-static int OEM_sys_set_process_monitor_mp_pnp(int value)
-{
- return 0;
-}
-
-static int OEM_sys_set_process_monitor_mp_vip(int value)
-{
- return 0;
-}
-
-static int OEM_sys_get_cpufreq_cpuinfo_max_freq(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_get_cpufreq_cpuinfo_min_freq(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_get_cpufreq_scaling_max_freq(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_set_cpufreq_scaling_max_freq(int value)
-{
- return 0;
-}
-
-static int OEM_sys_get_cpufreq_scaling_min_freq(int *value)
-{
- return 0;
-}
-
-static int OEM_sys_set_cpufreq_scaling_min_freq(int value)
-{
- return 0;
-}
-
static int OEM_sys_get_backlight_brightness_by_lux(int lux, int *value)
{
return 0;
@@ -378,11 +288,13 @@ static int OEM_sys_set_irled_control(char *value)
return 0;
}
-static int OEM_sys_get_hardkey_backlight(int *value){
+static int OEM_sys_get_hardkey_backlight(int *value)
+{
return 0;
}
-static int OEM_sys_set_hardkey_backlight(int value){
+static int OEM_sys_set_hardkey_backlight(int value)
+{
return 0;
}
@@ -426,13 +338,6 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_get_usb_path = &OEM_sys_get_usb_path,
.OEM_sys_set_usb_path = &OEM_sys_set_usb_path,
- /* Vibrator interfaces */
- .OEM_sys_get_haptic_vibetones_level_max = &OEM_sys_get_haptic_vibetones_level_max,
- .OEM_sys_get_haptic_vibetones_level = &OEM_sys_get_haptic_vibetones_level,
- .OEM_sys_set_haptic_vibetones_level = &OEM_sys_set_haptic_vibetones_level,
- .OEM_sys_set_haptic_vibetones_enable = &OEM_sys_set_haptic_vibetones_enable,
- .OEM_sys_set_haptic_vibetones_oneshot = &OEM_sys_set_haptic_vibetones_oneshot,
-
/* Battery interfaces */
.OEM_sys_get_battery_capacity = &OEM_sys_get_battery_capacity,
.OEM_sys_get_battery_capacity_raw = &OEM_sys_get_battery_capacity_raw,
@@ -440,7 +345,7 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_get_battery_charge_now = &OEM_sys_get_battery_charge_now,
.OEM_sys_get_battery_present = &OEM_sys_get_battery_present,
.OEM_sys_get_battery_health = &OEM_sys_get_battery_health,
- .OEM_sys_get_battery_polling_required= &OEM_sys_get_battery_polling_required,
+ .OEM_sys_get_battery_polling_required = &OEM_sys_get_battery_polling_required,
.OEM_sys_get_battery_support_insuspend_charging = &OEM_sys_get_battery_support_insuspend_charging,
/* Connection interfaces */
@@ -465,25 +370,6 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_get_power_wakeup_count = &OEM_sys_get_power_wakeup_count,
.OEM_sys_set_power_wakeup_count = &OEM_sys_set_power_wakeup_count,
- /* OOM interfaces */
- .OEM_sys_get_memnotify_node = &OEM_sys_get_memnotify_node,
- .OEM_sys_get_memnotify_victim_task = &OEM_sys_get_memnotify_victim_task,
- .OEM_sys_set_memnotify_threshold_lv1 = &OEM_sys_set_memnotify_threshold_lv1,
- .OEM_sys_set_memnotify_threshold_lv2 = &OEM_sys_set_memnotify_threshold_lv2,
-
- /* Process monitor interfaces */
- .OEM_sys_get_process_monitor_node = &OEM_sys_get_process_monitor_node,
- .OEM_sys_set_process_monitor_mp_pnp = &OEM_sys_set_process_monitor_mp_pnp,
- .OEM_sys_set_process_monitor_mp_vip = &OEM_sys_set_process_monitor_mp_vip,
-
- /* UART path interfaces */
- .OEM_sys_get_cpufreq_cpuinfo_max_freq = &OEM_sys_get_cpufreq_cpuinfo_max_freq,
- .OEM_sys_get_cpufreq_cpuinfo_min_freq = &OEM_sys_get_cpufreq_cpuinfo_min_freq,
- .OEM_sys_get_cpufreq_scaling_max_freq = &OEM_sys_get_cpufreq_scaling_max_freq,
- .OEM_sys_set_cpufreq_scaling_max_freq = &OEM_sys_set_cpufreq_scaling_max_freq,
- .OEM_sys_get_cpufreq_scaling_min_freq = &OEM_sys_get_cpufreq_scaling_min_freq,
- .OEM_sys_set_cpufreq_scaling_min_freq = &OEM_sys_set_cpufreq_scaling_min_freq,
-
.OEM_sys_get_backlight_brightness_by_lux = &OEM_sys_get_backlight_brightness_by_lux,
.OEM_sys_get_whitemagic_mode = &OEM_sys_get_whitemagic_mode,
@@ -494,5 +380,5 @@ const OEM_sys_devman_plugin_interface default_plugin = {
.OEM_sys_set_irled_control = &OEM_sys_set_irled_control,
.OEM_sys_get_hardkey_backlight = &OEM_sys_get_hardkey_backlight,
- .OEM_sys_set_hardkey_backlight= &OEM_sys_set_hardkey_backlight
+ .OEM_sys_set_hardkey_backlight = &OEM_sys_set_hardkey_backlight
};