common: Move flash_perror() to flash.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:40 +0000 (10:44 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:47 +0000 (23:06 +0530)
commit9dfbc24459ccb0623c76f33b359e8fedb0e6d0a7
tree591912b120ec5d4cb26a1755a6a2af107a0051ee
parent930c57ed9654f9fd53fe9bb0fc7d46d2e0317bbd
common: Move flash_perror() to flash.h

This function belongs more in flash.h than common.h so move it.

Also remove the space before the bracket in some calls.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/load.c
cmd/mem.c
common/flash.c
env/flash.c
include/common.h
include/flash.h
net/nfs.c