Commit 0824c889 authored by Lee Jones's avatar Lee Jones

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: default avatarLee Jones <lee.jones@linaro.org>
parent 1574360a
...@@ -89,6 +89,9 @@ static struct regmap_config altr_sysmgr_regmap_cfg = { ...@@ -89,6 +89,9 @@ static struct regmap_config altr_sysmgr_regmap_cfg = {
* altr_sysmgr_regmap_lookup_by_phandle * altr_sysmgr_regmap_lookup_by_phandle
* Find the sysmgr previous configured in probe() and return regmap property. * Find the sysmgr previous configured in probe() and return regmap property.
* Return: regmap if found or error if not found. * 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, struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
const char *property) const char *property)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment