diff options
Diffstat (limited to 'drivers/misc/mei/wd.c')
-rw-r--r-- | drivers/misc/mei/wd.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/misc/mei/wd.c b/drivers/misc/mei/wd.c index 626b4c13993b..b836dfffceb5 100644 --- a/drivers/misc/mei/wd.c +++ b/drivers/misc/mei/wd.c | |||
@@ -51,7 +51,7 @@ static void mei_wd_set_start_timeout(struct mei_device *dev, u16 timeout) | |||
51 | * | 51 | * |
52 | * @dev: the device structure | 52 | * @dev: the device structure |
53 | * | 53 | * |
54 | * returns -ENOTTY if wd client cannot be found | 54 | * Return: -ENOTTY if wd client cannot be found |
55 | * -EIO if write has failed | 55 | * -EIO if write has failed |
56 | * 0 on success | 56 | * 0 on success |
57 | */ | 57 | */ |
@@ -105,7 +105,7 @@ int mei_wd_host_init(struct mei_device *dev) | |||
105 | * | 105 | * |
106 | * @dev: the device structure | 106 | * @dev: the device structure |
107 | * | 107 | * |
108 | * returns 0 if success, | 108 | * Return: 0 if success, |
109 | * -EIO when message send fails | 109 | * -EIO when message send fails |
110 | * -EINVAL when invalid message is to be sent | 110 | * -EINVAL when invalid message is to be sent |
111 | * -ENODEV on flow control failure | 111 | * -ENODEV on flow control failure |
@@ -150,9 +150,8 @@ int mei_wd_send(struct mei_device *dev) | |||
150 | * mei_wd_stop - sends watchdog stop message to fw. | 150 | * mei_wd_stop - sends watchdog stop message to fw. |
151 | * | 151 | * |
152 | * @dev: the device structure | 152 | * @dev: the device structure |
153 | * @preserve: indicate if to keep the timeout value | ||
154 | * | 153 | * |
155 | * returns 0 if success | 154 | * Return: 0 if success |
156 | * on error: | 155 | * on error: |
157 | * -EIO when message send fails | 156 | * -EIO when message send fails |
158 | * -EINVAL when invalid message is to be sent | 157 | * -EINVAL when invalid message is to be sent |
@@ -207,7 +206,7 @@ err: | |||
207 | * | 206 | * |
208 | * @wd_dev - watchdog device struct | 207 | * @wd_dev - watchdog device struct |
209 | * | 208 | * |
210 | * returns 0 if success, negative errno code for failure | 209 | * Return: 0 if success, negative errno code for failure |
211 | */ | 210 | */ |
212 | static int mei_wd_ops_start(struct watchdog_device *wd_dev) | 211 | static int mei_wd_ops_start(struct watchdog_device *wd_dev) |
213 | { | 212 | { |
@@ -244,7 +243,7 @@ end_unlock: | |||
244 | * | 243 | * |
245 | * @wd_dev - watchdog device struct | 244 | * @wd_dev - watchdog device struct |
246 | * | 245 | * |
247 | * returns 0 if success, negative errno code for failure | 246 | * Return: 0 if success, negative errno code for failure |
248 | */ | 247 | */ |
249 | static int mei_wd_ops_stop(struct watchdog_device *wd_dev) | 248 | static int mei_wd_ops_stop(struct watchdog_device *wd_dev) |
250 | { | 249 | { |
@@ -266,7 +265,7 @@ static int mei_wd_ops_stop(struct watchdog_device *wd_dev) | |||
266 | * | 265 | * |
267 | * @wd_dev - watchdog device struct | 266 | * @wd_dev - watchdog device struct |
268 | * | 267 | * |
269 | * returns 0 if success, negative errno code for failure | 268 | * Return: 0 if success, negative errno code for failure |
270 | */ | 269 | */ |
271 | static int mei_wd_ops_ping(struct watchdog_device *wd_dev) | 270 | static int mei_wd_ops_ping(struct watchdog_device *wd_dev) |
272 | { | 271 | { |
@@ -314,7 +313,7 @@ end: | |||
314 | * @wd_dev - watchdog device struct | 313 | * @wd_dev - watchdog device struct |
315 | * @timeout - timeout value to set | 314 | * @timeout - timeout value to set |
316 | * | 315 | * |
317 | * returns 0 if success, negative errno code for failure | 316 | * Return: 0 if success, negative errno code for failure |
318 | */ | 317 | */ |
319 | static int mei_wd_ops_set_timeout(struct watchdog_device *wd_dev, | 318 | static int mei_wd_ops_set_timeout(struct watchdog_device *wd_dev, |
320 | unsigned int timeout) | 319 | unsigned int timeout) |