commit | dbe2256ddd8e8420c254c79f4045c41cb5f4bd6b | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri Sep 25 17:29:04 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 05 05:02:40 2015 +0100 |
tree | e90776bacb2349a6828b4e079aa131ff5293a61d | |
parent | 7568fb63f57ac8672f8bf2018171255441238882 [diff] |
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: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>