of: base: Document prefix argument for of_get_next_child_with_prefix()
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 28 Nov 2024 04:26:30 +0000 (12:26 +0800)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 29 Nov 2024 01:48:59 +0000 (02:48 +0100)
commit0d40daa1c1369c2fef6a40f44640b2e5f3453daa
tree7848a9cafa47182e665f94cf9a187352df09c287
parent44b682694a0ca366bf15c26c3c3c16d26c9e9f6d
of: base: Document prefix argument for of_get_next_child_with_prefix()

When of_get_next_child_with_prefix() was added, the prefix argument was
left undocumented. This caused a new warning to be generated during the
kerneldoc build process:

 drivers/of/base.c:661: warning: Function parameter or struct member 'prefix'
  not described in 'of_get_next_child_with_prefix'

Properly document the argument to fix this.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411280010.KGSDBOUE-lkp@intel.com/
Fixes: 1fcc67e3a354 ("of: base: Add for_each_child_of_node_with_prefix()")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/of/base.c