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

Simon Glass
2020-09-17T01:10:12Z

On Tue, 15 Sep 2020 at 08:45, Sean Anderson <seanga2@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@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@chromium.org>