mux: describe np parameter in __devm_mux_state_get()
Subsystems (3)
Frank Li
maintainerPATCH 1/1 mux: describe np parameter in __devm_mux_state_get()
Add a description for the 'np' parameter of __devm_mux_state_get() to fix build warning.
Reported-by kernel test robot <[email protected]>
Signed-off-by Frank Li <[email protected]>
--- drivers/mux/core.c | 1 + 1 file changed, 1 insertion(+)
drivers/mux/core.c +1 -0
@@ -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
Hi Frank,
Am 07.05.26 um 17:21 schrieb Frank Li:
Quoted 15 lines
Add a description for the 'np' parameter of
__devm_mux_state_get()to fix build warning.Reported-by kernel test robot <[email protected]>Signed-off-by Frank Li <[email protected]>--- drivers/mux/core.c | 1 + 1 file changed, 1 insertion(+)drivers/mux/core.c +0
-0
drivers/mux/core.c static void devm_mux_state_release(struct device *dev, void *res) · line 774
Quoted 4 lines
drivers/mux/core.c +1
-0@@ -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.
minor nit: Singular device "node".
Quoted 6 lines
drivers/mux/core.c +0
-1* @init: Optional function pointer for mux-state object initialisation. * @exit: Optional function pointer for mux-state object cleanup on release. * -- 2.43.0
Acked-by Josua Mayer <[email protected]>
I think patches to mux-core alone end up in some low-attention (no-)maintainer bin, when they don't go via other trees (mmc, pinctrl, phy, ...).
See also: