sdhci: use error_propagate(local_err) in realize()
commitab958e3864c70bf45fe4a688ba231250d39339cf
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 8 Feb 2018 16:47:49 +0000 (8 13:47 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 10:44:13 +0000 (13 11:44 +0100)
treeb8a7a5a9df283377b81174c33c389206b0c95f09
parent218bb57dd79d6843e0592c30a82ea8c1fddc74a5
sdhci: use error_propagate(local_err) in realize()

avoid the "errp && *errp" pattern (not recommended in "qapi/error.h" comments).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-Id: <20180208164818.7961-2-f4bug@amsat.org>
hw/sd/sdhci.c