qcom: Use AOSP's proc_sched def
Change-Id: I7899270c601263c7c0a765571932f235459ad599
diff --git a/qcom/vendor/file.te b/qcom/vendor/file.te
index 965d684..5555f05 100644
--- a/qcom/vendor/file.te
+++ b/qcom/vendor/file.te
@@ -1,2 +1 @@
-type proc_sched_energy_aware, proc_type, fs_type;
type sysfs_socinfo_sensitive, fs_type, sysfs_type;
diff --git a/qcom/vendor/genfs_contexts b/qcom/vendor/genfs_contexts
index 1f54852..2bacfe8 100644
--- a/qcom/vendor/genfs_contexts
+++ b/qcom/vendor/genfs_contexts
@@ -1,2 +1,2 @@
-genfscon proc /sys/kernel/sched_energy_aware u:object_r:proc_sched_energy_aware:s0
+genfscon proc /sys/kernel/sched_energy_aware u:object_r:proc_sched:s0
genfscon sysfs /devices/soc0/serial_number u:object_r:sysfs_socinfo_sensitive:s0
diff --git a/qcom/vendor/hal_power_default.te b/qcom/vendor/hal_power_default.te
index 665e3d3..969819c 100644
--- a/qcom/vendor/hal_power_default.te
+++ b/qcom/vendor/hal_power_default.te
@@ -1,5 +1,5 @@
# To do powerhint on nodes defined in powerhint.json
-rw_dir_file(hal_power_default, proc_sched_energy_aware)
+rw_dir_file(hal_power_default, proc_sched)
rw_dir_file(hal_power_default, sysfs_devfreq)
rw_dir_file(hal_power_default, sysfs_graphics)
rw_dir_file(hal_power_default, sysfs_kgsl)