mirror of https://gitee.com/openkylin/linux.git
1f0c4ea95e
of_find_device_by_node() already takes a reference to the device, and ingenic_ecc_release() will drop the reference. So, the get_device() in ingenic_ecc_get() is redundand. Fixes: 15de8c6efd0e("mtd: rawnand: ingenic: Separate top-level and SoC specific code") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20201031105439.2304211-1-yukuai3@huawei.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ingenic_ecc.c | ||
ingenic_ecc.h | ||
ingenic_nand_drv.c | ||
jz4725b_bch.c | ||
jz4740_ecc.c | ||
jz4780_bch.c |