Remove device-specific rtc labeling.

rtc0 should be labeled rtc_device rather than just rtc. It should also be
labeled for all devices rather than on a per-device basis.  Remove this labeling
in preparation for global policy.

Change-Id: I4f099fe30ba206db07d636dd454d43d3df9d3015
diff --git a/sepolicy/device.te b/sepolicy/device.te
index 26c8c1c..718ed48 100644
--- a/sepolicy/device.te
+++ b/sepolicy/device.te
@@ -11,9 +11,6 @@
 type cid_block_device, dev_type;
 type persist_block_device, dev_type;
 
-# Real Time Clock
-type rtc, dev_type;
-
 type power_control_device, dev_type;
 type shared_log_device, dev_type;
 
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 8780ef7..bfbfbf5 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -100,9 +100,6 @@
 /dev/msm_acdb                      u:object_r:audio_device:s0
 /dev/msm_rtac                      u:object_r:audio_device:s0
 
-# Real-time clock
-/dev/rtc0                       u:object_r:rtc:s0
-
 # Qualcomm MSM Interface (QMI) devices
 /dev/socket/qmux_audio(/.*)?           u:object_r:qmuxd_socket:s0
 /dev/socket/qmux_bluetooth(/.*)?       u:object_r:qmuxd_socket:s0
diff --git a/sepolicy/time.te b/sepolicy/time.te
index 4cbae71..591f7ad 100644
--- a/sepolicy/time.te
+++ b/sepolicy/time.te
@@ -8,7 +8,7 @@
 allow time alarm_device:chr_file rw_file_perms;
 
 # Is r_file_perms sufficient for /dev/rtc0 ?
-allow time rtc:chr_file r_file_perms;
+allow time rtc_device:chr_file r_file_perms;
 
 allow time time_data_file:dir rw_dir_perms;
 allow time time_data_file:file create_file_perms;