mtd: bcm47xxnflash: Use module_platform_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 11 Oct 2013 04:41:24 +0000 (10:11 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:56 +0000 (23:32 -0800)
commit994bbd0e91c0dfa4dcda9097b0716607aeec5470
treed071b51f708140b5b30f4d30d53fb57838df94b3
parent98a7c7475d2381febb05d139b5db6f49eeda4427
mtd: bcm47xxnflash: Use module_platform_driver

module_platform_driver simplifies the code by removing boiler plate.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/bcm47xxnflash/main.c