mtd: nand: denali: remove bogus comment about interrupt handler setup
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Dec 16 11:59:09 PST 2016
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=50d5f2a00aeb9778f9219f8df3fceb7a2071dc73
Commit: 50d5f2a00aeb9778f9219f8df3fceb7a2071dc73
Parent: c4ae0977f57deff490f0232bf8f2a7689cbdcbee
Author: Masahiro Yamada <yamada.masahiro at socionext.com>
AuthorDate: Wed Nov 9 13:35:22 2016 +0900
Committer: Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Sat Nov 19 09:30:59 2016 +0100
mtd: nand: denali: remove bogus comment about interrupt handler setup
The interrupt handler is setup in denali_init(), not in
denali_drv_init(). This comment is false.
Such a comment adds no value, so just delete it instead of move.
Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
Reviewed-by: Marek Vasut <marek.vasut at gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
drivers/mtd/nand/denali.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index bf83a50..fde9413 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1436,7 +1436,6 @@ static struct nand_bbt_descr bbt_mirror_descr = {
/* initialize driver data structures */
static void denali_drv_init(struct denali_nand_info *denali)
{
- /* setup interrupt handler */
/*
* the completion object will be used to notify
* the callee that the interrupt is done
More information about the linux-mtd-cvs
mailing list