Skip to content
Snippets Groups Projects
Commit 6e25e641 authored by Thierry Reding's avatar Thierry Reding Committed by Jacek Anaszewski
Browse files

leds: sunfire: Use platform_register/unregister_drivers()


These new helpers simplify implementing multi-driver modules and
properly handle failure to register one driver by unregistering all
previously registered drivers.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent 88911615
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment