mmc: cavium-octeon: Convert to use module_platform_driver
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Aug 2017 13:06:11 +0000 (21:06 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:38 +0000 (15:03 +0200)
commita814a14ea44d4415ee193985ecb744de320739e5
tree172e33193243f7b393fcd5c32a3b417b4fe6a3cb
parentb773b3bf1916a368c29a19916abf0f5eca8b3c33
mmc: cavium-octeon: Convert to use module_platform_driver

Get rid of boilerplate code by using module_platform_driver macro.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium-octeon.c