summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRamesh Thomas <ramesh.thomas@intel.com>2016-10-07 17:07:04 -0700
committerAnas Nashif <nashif@linux.intel.com>2016-10-21 23:32:52 +0000
commit6249c567f5c79627cca3489a80e293aaec6d8f36 (patch)
tree8fbcd968277c5985af101eaef7f4cc7355629abc /kernel
parent1c25f49ac5d385cecc448ca3a3d59c7687f72ebf (diff)
device_pm: Update control function name and doc to indicate PM specific
PM control function is used only by the PM subsystem. Update documentations to make it clear and name the relevant structures and functions with _pm_ in the name. Jira: ZEP-1044 Change-Id: I29e5b7690db34a228ed30a24a2e912e1360a0090 Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/unified/device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/unified/device.c b/kernel/unified/device.c
index 44a519cf5..ab04ca275 100644
--- a/kernel/unified/device.c
+++ b/kernel/unified/device.c
@@ -84,11 +84,13 @@ int device_pm_nop(struct device *unused_device, int unused_policy)
{
return 0;
}
-int device_control_nop(struct device *unused_device,
+
+int device_pm_control_nop(struct device *unused_device,
uint32_t unused_ctrl_command, void *unused_context)
{
return 0;
}
+
void device_list_get(struct device **device_list, int *device_count)
{