summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/denali_dt.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-22 12:46:45 +0900
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-09-22 09:04:32 +0200
commit8582a03e028f666d15acc651e0491c02941d13e7 (patch)
tree2a2b0a0413053437aeabc8912870c1947b8f4d82 /drivers/mtd/nand/denali_dt.c
parent8e4cbf7f0a55a235fdd8c088da1259b9fe8e9393 (diff)
downloadop-kernel-dev-8582a03e028f666d15acc651e0491c02941d13e7.zip
op-kernel-dev-8582a03e028f666d15acc651e0491c02941d13e7.tar.gz
mtd: nand: denali: clean up comments
This driver explains too much about what is apparent from the code. Comments around basic APIs such as init_completion(), spin_lock_init(), etc. seem unneeded lessons to kernel developers. (With those comments dropped, denali_drv_init() is small enough, so it has been merged into the probe function.) Also, NAND driver developers should know the NAND init procedure, so there is no need to explain nand_scan_ident/tail. I removed FSF's address from the license blocks, and added simple comments to struct members. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/denali_dt.c')
-rw-r--r--drivers/mtd/nand/denali_dt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c
index 01e0100..cfd33e6 100644
--- a/drivers/mtd/nand/denali_dt.c
+++ b/drivers/mtd/nand/denali_dt.c
@@ -156,7 +156,6 @@ static struct platform_driver denali_dt_driver = {
.of_match_table = denali_nand_dt_ids,
},
};
-
module_platform_driver(denali_dt_driver);
MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud