Skip to content
Commit d54051f1 authored by Thierry Reding's avatar Thierry Reding Committed by Borislav Petkov
Browse files

EDAC, mpc85xx: 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.

Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1449136632-11680-1-git-send-email-thierry.reding@gmail.com


Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 255379ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment