Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 812608d1 authored by Geliang Tang's avatar Geliang Tang Committed by Vinod Koul
Browse files

dmaengine: mv_xor: use builtin_platform_driver



Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent c5db858b
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1630,12 +1630,7 @@ static struct platform_driver mv_xor_driver = {
	},
};


static int __init mv_xor_init(void)
{
	return platform_driver_register(&mv_xor_driver);
}
device_initcall(mv_xor_init);
builtin_platform_driver(mv_xor_driver);

/*
MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>");