diff options
author | lokilee73 <changjoo.lee@samsung.com> | 2019-01-28 20:01:38 +0900 |
---|---|---|
committer | lokilee73 <changjoo.lee@samsung.com> | 2019-01-29 14:32:36 +0900 |
commit | 2c328fac949e3e99fed4e9396d5f65d7b1ee5916 (patch) | |
tree | ace9d5fc0ae5590ae09f3bea8b96dfaa5b185b0b /src | |
parent | f3e15a75312c01c9e56bec38766ab479f187f279 (diff) | |
download | libdevice-node-2c328fac949e3e99fed4e9396d5f65d7b1ee5916.tar.gz libdevice-node-2c328fac949e3e99fed4e9396d5f65d7b1ee5916.tar.bz2 libdevice-node-2c328fac949e3e99fed4e9396d5f65d7b1ee5916.zip |
Remove unused plugin about cpu, process, memory and vibratorsubmit/tizen/20190131.080207submit/tizen/20190131.021840accepted/tizen/unified/20190201.061337
OAL(OEM Adaptation Layer) still exists in libdevice-node,
even though HAL was implemented.
Change-Id: I675272ff3543d0a213e002d00726104b2bccd1fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/device-plugin.c | 126 |
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 }; |