kunit: Fix obsolete name in documentation headers (func->action)
authorDavid Gow <davidgow@google.com>
Tue, 30 May 2023 07:55:57 +0000 (15:55 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 1 Jun 2023 19:04:40 +0000 (13:04 -0600)
commitc042030aa15e9265504a034243a8cae062e900a1
treebaf8a80700b4a5b761223c4e1cf4e9b1f4df85cf
parent6543960cd3bdb9fabdd0567ab02f4d1168ee96d9
kunit: Fix obsolete name in documentation headers (func->action)

The kunit_add_action() and related functions named the kunit_action_t
parameter 'func' in early drafts, which was later renamed to 'action'
However, the doc comments were not properly updated.

Fix these to avoid confusion and 'make htmldocs' warnings.

Fixes: b9dce8a1ed3e ("kunit: Add kunit_add_action() to defer a call until test exit")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/lkml/20230530151840.16a56460@canb.auug.org.au/
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/resource.h