common: Move flash_perror() to flash.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:40 +0000 (10:44 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jan 2020 18:26:48 +0000 (13:26 -0500)
commit0ee48252b456f310225fa8dd0f3a9921cfcf3399
treef580fa4d2d2076d00d034d79f011885e5ca0169f
parent6b8d3ceaf59a6c4a2d3930aa8fa0c33e15093498
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