memory: atmel-sdramc: use builtin_platform_driver to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 16 Sep 2016 13:05:10 +0000 (13:05 +0000)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 20 Oct 2016 09:59:57 +0000 (11:59 +0200)
commitaf692400608857f7d7c3189c150c0b1d6b0ffad0
treec604b23083083786b7071429885664e80498dd85
parentecc2d430fadfba408b1d453d82128a696fa73fe0
memory: atmel-sdramc: use builtin_platform_driver to simplify the code

Use the builtin_platform_driver() macro to make the code simpler.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/memory/atmel-sdramc.c