[PATCH] driver core: Add missing parameter description to kerneldoc

From: Thierry Reding
Date: Fri Aug 08 2014 - 05:36:39 EST


From: Thierry Reding <treding@xxxxxxxxxx>

The deferred_probe_work_func() takes a single parameter but the
kerneldoc doesn't describe it.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
Note that since the function is locally scoped there isn't all that much
point in having a kerneldoc comment for it, but since it's already there
might as well make it correct.

drivers/base/dd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index e4ffbcf2f519..e8d417bb65bd 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -56,6 +56,7 @@ static atomic_t deferred_trigger_count = ATOMIC_INIT(0);

/**
* deferred_probe_work_func() - Retry probing devices in the active list.
+ * @work: work queue for deferred probe processing
*/
static void deferred_probe_work_func(struct work_struct *work)
{
--
2.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/