UPSTREAM: lspcon_i2c_spi.c: Prefix with fn name instead of just 'Error:'

Replace log lines with the prefix formatter '%s: ..' and pass
'__func__' to the printers so that errors are prefixed with the
function from which they originated.

BUG=b:154285774
BRANCH=none
TEST=build success

Original-Change-Id: If3205d8e453cfcd37f725b4fd135fe1221c913c0
Original-Signed-off-by: Shiyu Sun <sshiyu@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/40901
Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
(cherry picked from commit 7f87f9fdc29519be125a229707830dddc4187d1f)

Signed-off-by: Shiyu Sun <sshiyu@google.com>
Change-Id: I4ef1191fcd9c3bd9e914723e3432021bfbfec983
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2172730
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
1 file changed