Skip to content

Commit 7a51320

Browse files
mchehabchanwoochoi
authored andcommitted
PM / devfreq: Get rid of some doc warnings
Mark "void *data" as literal, in order to avoid those doc warnings: ./include/linux/devfreq.h:156: WARNING: Inline emphasis start-string without end-string. ./include/linux/devfreq.h:259: WARNING: Inline emphasis start-string without end-string. ./include/linux/devfreq.h:279: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 4c6abef commit 7a51320

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/linux/devfreq.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ struct devfreq_stats {
158158
* functions except for the context of callbacks defined in struct
159159
* devfreq_governor, the governor should protect its access with the
160160
* struct mutex lock in struct devfreq. A governor may use this mutex
161-
* to protect its own private data in void *data as well.
161+
* to protect its own private data in ``void *data`` as well.
162162
*/
163163
struct devfreq {
164164
struct list_head node;
@@ -256,7 +256,7 @@ struct devfreq *devfreq_get_devfreq_by_phandle(struct device *dev, int index);
256256

257257
#if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND)
258258
/**
259-
* struct devfreq_simple_ondemand_data - void *data fed to struct devfreq
259+
* struct devfreq_simple_ondemand_data - ``void *data`` fed to struct devfreq
260260
* and devfreq_add_device
261261
* @upthreshold: If the load is over this value, the frequency jumps.
262262
* Specify 0 to use the default. Valid value = 0 to 100.
@@ -276,7 +276,7 @@ struct devfreq_simple_ondemand_data {
276276

277277
#if IS_ENABLED(CONFIG_DEVFREQ_GOV_PASSIVE)
278278
/**
279-
* struct devfreq_passive_data - void *data fed to struct devfreq
279+
* struct devfreq_passive_data - ``void *data`` fed to struct devfreq
280280
* and devfreq_add_device
281281
* @parent: the devfreq instance of parent device.
282282
* @get_target_freq: Optional callback, Returns desired operating frequency

0 commit comments

Comments
 (0)