OSDN Git Service

aspeed/smc: Introduce aspeed_smc_error() helper
authorCédric Le Goater <clg@kaod.org>
Tue, 12 Oct 2021 06:20:07 +0000 (08:20 +0200)
committerCédric Le Goater <clg@kaod.org>
Tue, 12 Oct 2021 06:20:07 +0000 (08:20 +0200)
commit32c54bd0ed622bbd1614ca9d1f5f108823f5cc11
tree309169a869c34eeba8ab52e03f5e7bf98f3ec9bd
parent45a904af3861b5457050e55271e1386a7040f04f
aspeed/smc: Introduce aspeed_smc_error() helper

It unifies the errors reported by the Aspeed SMC model and also
removes some use of ctrl->name which will help us for the next
patches.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ssi/aspeed_smc.c