]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand: brcmnand: Fix not calling dev_err() with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:50 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:59 +0000 (08:52 -0400)
commit15b6ab4cee2a0aba62ef30eebda534063f183c5a
tree1a3d2cd589046cdbd3f4866039cfe615eaca1501
parent2e8c907aba5ec66e96dc33611072b7876da0e0ff
nand: brcmnand: Fix not calling dev_err() with a device

There are too many levels of indirection when calling dev_err. This is an
artifact of the conversion of brcmnand_host.pdev from a struct
platform_device (which has a member `dev` pointing to a struct device) to
struct udevice.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/nand/raw/brcmnand/brcmnand.c