commit | 6ae28141f123e29dd5903df2a656f2ad1aee34b3 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Tue Sep 15 10:44:41 2020 -0400 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 30 08:52:36 2020 -0400 |
tree | 38fbe01d5bdea08f717f5b2be2c35cca7c329763 | |
parent | c6302f0cca766e12aa1992dc0855aa063525d2c4 [diff] |
mtd: nand: sunxi: Fix not calling dev_err with a device Usually the device is gotten from sunxi_nfc. This is a struct device and not a struct udevice, but the whole driver seems to be written wihout DM anyway... In a few instances, this patch modifies functions to take an nfc to log with. In once instance we use mtd_info's device since there is no nfc. Signed-off-by: Sean Anderson <seanga2@gmail.com> Tested-by: Patrick Delaunay <patrick.delaunay@st.com>