[PATCH ib-mux-pinctrl 1/1] mux: describe np parameter in __devm_mux_state_get()
From: Frank Li
Date: Thu May 07 2026 - 11:23:36 EST
Add a description for the 'np' parameter of __devm_mux_state_get() to fix
build warning.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202605061502.ullLjmtN-lkp@xxxxxxxxx/
Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
drivers/mux/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mux/core.c b/drivers/mux/core.c
index 2f01acfccf47b..5083e3d19606b 100644
--- a/drivers/mux/core.c
+++ b/drivers/mux/core.c
@@ -771,6 +771,7 @@ static void devm_mux_state_release(struct device *dev, void *res)
* @dev: The device that needs a mux-state.
* @mux_name: The name identifying the mux-state.
* @optional: Whether to return NULL and silence errors when mux doesn't exist.
+ * @np: The device nodes, use dev->of_node if it is NULL.
* @init: Optional function pointer for mux-state object initialisation.
* @exit: Optional function pointer for mux-state object cleanup on release.
*
--
2.43.0