hw/misc/macio: Return bool from functions taking errp
commit1d0c537985abf5c497498f985b746ebe3e0cca54
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 18 Jan 2023 00:32:35 +0000 (18 01:32 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 6 Feb 2023 11:41:39 +0000 (6 11:41 +0000)
treed32fb1b492209060b790a9e5d34dc1ed3741ded0
parentaf36fca459e8f3c8fadf887048a9d1bce1101f4e
hw/misc/macio: Return bool from functions taking errp

Use the convention to return bool from functions which take an error
pointer which allows for callers to pass through their error pointer
without needing a local.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <bfce0751e82b031f5e6fb3c32cfbce6325434400.1674001242.git.balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/misc/macio/macio.c