Skip to content
Commit 170848d4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

driver core: class: fix documentation for class_create()



In commit dcfbb67e ("driver core: class: use lock_class_key already
present in struct subsys_private") we removed the key parameter to the
function class_create() but forgot to remove it from the kerneldoc,
which causes a build warning.  Fix that up by removing the key parameter
from the documentation as it is now gone.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: dcfbb67e ("driver core: class: use lock_class_key already present in struct subsys_private")
Acked-by: default avatarRafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230327081828.1087364-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 00945520
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment