Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbcKGMCF (ORCPT ); Mon, 7 Nov 2016 07:02:05 -0500 Received: from web01.01d.eu ([5.200.27.195]:33156 "EHLO web01.01d.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753033AbcKGMCE (ORCPT ); Mon, 7 Nov 2016 07:02:04 -0500 From: Shiva Kerdel To: German.Rivera@freescale.com Cc: stuart.yoder@nxp.com, gregkh@linuxfoundation.org, german.rivera@nxp.com, itai.katz@nxp.com, treding@nvidia.com, bharat.bhushan@nxp.com, nipun.gupta@nxp.com, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Shiva Kerdel Subject: [PATCH 3/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u8' preferred over 'uint8_t' Date: Mon, 7 Nov 2016 13:01:22 +0100 Message-Id: <20161107120125.4663-3-shiva@exdev.nl> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161107120125.4663-1-shiva@exdev.nl> References: <20161107120125.4663-1-shiva@exdev.nl> X-Authenticated-Id: shiva@exdev.nl Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1679 Lines: 67 Follow the kernel type preferrences of using 'u8' over 'uint8_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h index a801061..854621a 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.h +++ b/drivers/staging/fsl-mc/bus/dpmcp.h @@ -93,44 +93,44 @@ struct dpmcp_irq_cfg { int dpmcp_set_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, + u8 irq_index, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_get_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, + u8 irq_index, int *type, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, - uint8_t en); + u8 irq_index, + u8 en); int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, - uint8_t *en); + u8 irq_index, + u8 *en); int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, + u8 irq_index, u32 mask); int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, + u8 irq_index, u32 *mask); int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, - uint8_t irq_index, + u8 irq_index, u32 *status); /** -- 2.10.2