Skip to content
Commit dbe2256d authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

driver-core: platform: Provide helpers for multi-driver modules



Some modules register several sub-drivers. Provide a helper that makes
it easy to register and unregister a list of sub-drivers, as well as
unwind properly on error.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7568fb63
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