When working on other things, I got confused by the etsec code, that didn't use the TYPE_ETSEC_COMMON macro in its type declaration, and had no subclasses despite being named ETSEC_COMMON.
This is a very simple cleanup to remove the _COMMON suffix from the macros, and to use the TYPE_ETSEC macro when registering and creating devices instead of hardcoding the "eTSEC" name. Cc: Alexander Graf <ag...@suse.de> Cc: Scott Wood <scottw...@freescale.com> Cc: Jason Wang <jasow...@redhat.com> Cc: Fabien Chouteau <chout...@adacore.com> Cc: qemu-...@nongnu.org Eduardo Habkost (2): etsec: Rename (TYPE_)ETSEC_COMMON to (TYPE_)ETSEC etsec: Use TYPE_ETSEC macro when registering/creating device hw/net/fsl_etsec/etsec.h | 6 +++--- hw/net/fsl_etsec/etsec.c | 10 +++++----- hw/ppc/e500.c | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) -- 2.11.0.259.g40922b1