[PATCH] pinctrl: core: Remove duplicated world from devm_pinctrl_unregister()
From: Michal Simek
Date: Wed Aug 25 2021 - 03:41:28 EST
Remove duplicated "which" from devm_pinctrl_unregister() kernel doc
description.
Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
---
drivers/pinctrl/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index a4ac87c8b4f8..5082102d7d0d 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -2306,7 +2306,7 @@ EXPORT_SYMBOL_GPL(devm_pinctrl_register_and_init);
/**
* devm_pinctrl_unregister() - Resource managed version of pinctrl_unregister().
- * @dev: device for which which resource was allocated
+ * @dev: device for which resource was allocated
* @pctldev: the pinctrl device to unregister.
*/
void devm_pinctrl_unregister(struct device *dev, struct pinctrl_dev *pctldev)
--
2.33.0