From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFqb1-0007nZ-Ig for qemu-devel@nongnu.org; Thu, 16 Jul 2015 17:21:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFqb0-0001qH-KN for qemu-devel@nongnu.org; Thu, 16 Jul 2015 17:21:35 -0400 Received: from zose-mta02.web4all.fr ([185.49.20.43]:48708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFqb0-0001qC-FN for qemu-devel@nongnu.org; Thu, 16 Jul 2015 17:21:34 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id 003C240A96 for ; Thu, 16 Jul 2015 23:21:34 +0200 (CEST) From: Jean-Christophe Dubois Date: Thu, 16 Jul 2015 23:21:32 +0200 Message-Id: In-Reply-To: References: Subject: [Qemu-devel] [PATCH v13 09/19] i.MX: Fix Coding style for EPIT emulator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jean-Christophe Dubois Signed-off-by: Jean-Christophe Dubois Reviewed-by: Peter Crosthwaite --- Changes since v1: * not present on v1 Changes since v2: * not present on v2 Changes since v3: * not present on v3 Changes since v4: * not present on v4 Changes since v5: * not present on v5 Changes since v6: * not present on v6 Changes since v7: * not present on v7 Changes since v8: * Fix coding style Changes since v9: * no change Changes since v10: * no change. Changes since v11: * no change. Changes since v12: * no change. hw/timer/imx_epit.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/timer/imx_epit.c b/hw/timer/imx_epit.c index f1f82e9..10c5d2b 100644 --- a/hw/timer/imx_epit.c +++ b/hw/timer/imx_epit.c @@ -128,9 +128,9 @@ static void imx_epit_reset(DeviceState *dev) static uint32_t imx_epit_update_count(IMXEPITState *s) { - s->cnt = ptimer_get_count(s->timer_reload); + s->cnt = ptimer_get_count(s->timer_reload); - return s->cnt; + return s->cnt; } static uint64_t imx_epit_read(void *opaque, hwaddr offset, unsigned size) @@ -298,13 +298,13 @@ void imx_timerp_create(const hwaddr addr, qemu_irq irq, DeviceState *ccm) } static const MemoryRegionOps imx_epit_ops = { - .read = imx_epit_read, - .write = imx_epit_write, - .endianness = DEVICE_NATIVE_ENDIAN, + .read = imx_epit_read, + .write = imx_epit_write, + .endianness = DEVICE_NATIVE_ENDIAN, }; static const VMStateDescription vmstate_imx_timer_epit = { - .name = "imx.epit", + .name = TYPE_IMX_EPIT, .version_id = 2, .minimum_version_id = 2, .fields = (VMStateField[]) { -- 2.1.4