Skip to content

Commit 98e596f

Browse files
spandruvadarafaeljw
authored andcommitted
powercap: idle_inject: Fix warnings with make W=1
Fix following warning at three places: Function parameter or member 'ii_dev' not described. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 7ac7030 commit 98e596f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/powercap/idle_inject.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ static void idle_inject_fn(unsigned int cpu)
147147

148148
/**
149149
* idle_inject_set_duration - idle and run duration update helper
150+
* @ii_dev: idle injection control device structure
150151
* @run_duration_us: CPU run time to allow in microseconds
151152
* @idle_duration_us: CPU idle time to inject in microseconds
152153
*/
@@ -162,6 +163,7 @@ void idle_inject_set_duration(struct idle_inject_device *ii_dev,
162163

163164
/**
164165
* idle_inject_get_duration - idle and run duration retrieval helper
166+
* @ii_dev: idle injection control device structure
165167
* @run_duration_us: memory location to store the current CPU run time
166168
* @idle_duration_us: memory location to store the current CPU idle time
167169
*/
@@ -175,6 +177,7 @@ void idle_inject_get_duration(struct idle_inject_device *ii_dev,
175177

176178
/**
177179
* idle_inject_set_latency - set the maximum latency allowed
180+
* @ii_dev: idle injection control device structure
178181
* @latency_us: set the latency requirement for the idle state
179182
*/
180183
void idle_inject_set_latency(struct idle_inject_device *ii_dev,

0 commit comments

Comments
 (0)