Searched refs:ecc_pdev (Results 1 – 1 of 1) sorted by relevance
710 struct platform_device *ecc_pdev; in nand_ecc_get_engine_dev() local721 ecc_pdev = of_find_device_by_node(np); in nand_ecc_get_engine_dev()722 if (!ecc_pdev) { in nand_ecc_get_engine_dev()727 platform_device_put(ecc_pdev); in nand_ecc_get_engine_dev()730 return &ecc_pdev->dev; in nand_ecc_get_engine_dev()