diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-24 13:56:11 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 09:32:00 +0200 |
commit | 0824c889e1a4b1ec0edf890689c7852363c4b055 (patch) | |
tree | 44e0c73e4573cf60731227bd315a63b58162234b | |
parent | mfd: atmel-smc: Add missing colon(s) for 'conf' arguments (diff) | |
download | linux-0824c889e1a4b1ec0edf890689c7852363c4b055.tar.xz linux-0824c889e1a4b1ec0edf890689c7852363c4b055.zip |
mfd: altera-sysmgr: Supply descriptions for 'np' and 'property' function args
Kerneldoc syntax is used, but not complete. Arg descriptions are required.
Fixes the following W=1 build warnings:
drivers/mfd/altera-sysmgr.c:95: warning: Function parameter or member 'np' not described in 'altr_sysmgr_regmap_lookup_by_phandle'
drivers/mfd/altera-sysmgr.c:95: warning: Function parameter or member 'property' not described in 'altr_sysmgr_regmap_lookup_by_phandle'
Cc: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/altera-sysmgr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/altera-sysmgr.c b/drivers/mfd/altera-sysmgr.c index 83f0765f819b..41076d121dd5 100644 --- a/drivers/mfd/altera-sysmgr.c +++ b/drivers/mfd/altera-sysmgr.c @@ -89,6 +89,9 @@ static struct regmap_config altr_sysmgr_regmap_cfg = { * altr_sysmgr_regmap_lookup_by_phandle * Find the sysmgr previous configured in probe() and return regmap property. * Return: regmap if found or error if not found. + * + * @np: Pointer to device's Device Tree node + * @property: Device Tree property name which references the sysmgr */ struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np, const char *property) |