From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cu2Cs-0006sH-Hn for qemu-devel@nongnu.org; Fri, 31 Mar 2017 15:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cu2Co-0004IU-NC for qemu-devel@nongnu.org; Fri, 31 Mar 2017 15:27:34 -0400 From: Eduardo Habkost Date: Fri, 31 Mar 2017 16:27:22 -0300 Message-Id: <20170331192724.14339-1-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH for-2.10 0/2] etsec: (TYPE_)ETSEC_COMMON macro cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexander Graf , Scott Wood , qemu-ppc@nongnu.org, Fabien Chouteau , Jason Wang 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 Cc: Scott Wood Cc: Jason Wang Cc: Fabien Chouteau Cc: qemu-ppc@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