summary refs log tree commit diff
path: root/drivers/reset/core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-14 09:04:50 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-01-14 09:22:13 +0100
commitac9b7554afeb455a74bd69dc4a8eecf49886ff48 (patch)
treec924d15d662180d89d545ef0aafde03f97cdedf6 /drivers/reset/core.c
parentf2ad9bfd4dda69175b8ed2c38f115c8138239780 (diff)
downloadlinux-ac9b7554afeb455a74bd69dc4a8eecf49886ff48.tar.gz
reset: core: fix a kernel-doc markup
A function has a different name between their prototype
and its kernel-doc markup:

	../drivers/reset/core.c:888: warning: expecting prototype for device_reset(). Prototype was for __device_reset() instead

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/core.c')
-rw-r--r--drivers/reset/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/reset/core.c b/drivers/reset/core.c
index 34e89aa0fb5e..dbf881b586d9 100644
--- a/drivers/reset/core.c
+++ b/drivers/reset/core.c
@@ -875,8 +875,8 @@ struct reset_control *__devm_reset_control_get(struct device *dev,
 EXPORT_SYMBOL_GPL(__devm_reset_control_get);
 
 /**
- * device_reset - find reset controller associated with the device
- *                and perform reset
+ * __device_reset - find reset controller associated with the device
+ *                  and perform reset
  * @dev: device to be reset by the controller
  * @optional: whether it is optional to reset the device
  *