Skip to content
Commit 07def587 authored by Liu Shixin's avatar Liu Shixin Committed by Borislav Petkov
Browse files

EDAC/aspeed: Use module_platform_driver() to simplify



Use module_platform_driver() which makes the code simpler by eliminating
boilerplate code.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lkml.kernel.org/r/20200914065358.3726216-1-liushixin2@huawei.com
parent fbd4ab78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment