commit | 75eed1a113a29436f90a838b55f92209a126ea26 | [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 | 661c98121d49c643a1b7b4427d152e2586a220b2 [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>