mtd: spi-nor: intel: use ERR_CAST in return statement
This fixes a sparse warning about incorrect type in return expression. Signed-off-by: NNicholas Mc Guire <der.herr@hofr.at> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Acked-by: NMika Westerberg <mika.westerberg@linux.intel.com> Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com>
Showing
想要评论请 注册 或 登录