[PATCH v2 08/46] mtd: spi-nand: Fix not calling dev_err with a device

Simon Glass sjg at chromium.org
Thu Sep 17 03:10:12 CEST 2020


On Tue, 15 Sep 2020 at 08:45, Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changes in v2:
> - New
>
>  drivers/mtd/nand/spi/core.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list