OSDN Git Service

EDAC, mv64x60: Use platform_register/unregister_drivers()
authorThierry Reding <treding@nvidia.com>
Wed, 2 Dec 2015 16:18:58 +0000 (17:18 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 3 Dec 2015 11:05:40 +0000 (12:05 +0100)
commit768ce42ccee7f04d02d01dd757fb8100b3a6f958
treecd20c5ffeb411cd0dbf250be63f14da1a78532dd
parentd54051f1cc2af6d12c2478911921d32476319621
EDAC, mv64x60: 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: Thierry Reding <treding@nvidia.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1449073138-10852-2-git-send-email-thierry.reding@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mv64x60_edac.c