commit | b316bd70e39e272f0db9eeb3a42dfbdd8bbe8b8f | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Tue Sep 15 10:44:44 2020 -0400 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 30 08:52:44 2020 -0400 |
tree | 55ca9ff631fd605f14e1595779f69b02e7377939 | |
parent | 9bdd34b44bf094aab739b83fb29029849700c705 [diff] |
mtd: spi-nand: Fix not calling dev_err with a device Get it from spinand->slave->dev. Another option would be to use spinand_to_mtd(spinand)->dev, but this is what the existing code uses. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>