hw/nvram/eeprom_at24c: Remove ERR macro that calls fprintf to stderr
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 1 Mar 2025 14:35:34 +0000 (15:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 5 Mar 2025 01:13:33 +0000 (02:13 +0100)
commitbf042a6a2ab9aceae951f6afc897986f7387a7e5
treef574aa47ae975946bd1857cfbb55fa10773a071c
parentf94a158c708666d97fe68bf39c8f8a32c0a5176d
hw/nvram/eeprom_at24c: Remove ERR macro that calls fprintf to stderr

In the realize method error_setg can be used like other places there
already do. The other usage can be replaced with error_report which is
the preferred way instead of directly printing to stderr.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <637b92984795a385b648a84208f093947cc261e4.1740839457.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/nvram/eeprom_at24c.c