Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753010AbcKGMBz (ORCPT ); Mon, 7 Nov 2016 07:01:55 -0500 Received: from web01.01d.eu ([5.200.27.195]:32988 "EHLO web01.01d.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbcKGMBv (ORCPT ); Mon, 7 Nov 2016 07:01:51 -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 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t' Date: Mon, 7 Nov 2016 13:01:20 +0100 Message-Id: <20161107120125.4663-1-shiva@exdev.nl> X-Mailer: git-send-email 2.10.2 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: 3038 Lines: 124 Follow the kernel type preferrences of using 'u32' over 'uint32_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h index fe79d4d..ad41428 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.h +++ b/drivers/staging/fsl-mc/bus/dpmcp.h @@ -39,7 +39,7 @@ struct fsl_mc_io; int dpmcp_open(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, int dpmcp_id, uint16_t *token); @@ -47,7 +47,7 @@ int dpmcp_open(struct fsl_mc_io *mc_io, #define DPMCP_GET_PORTAL_ID_FROM_POOL (-1) int dpmcp_close(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token); /** @@ -60,16 +60,16 @@ struct dpmcp_cfg { }; int dpmcp_create(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, const struct dpmcp_cfg *cfg, uint16_t *token); int dpmcp_destroy(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token); int dpmcp_reset(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token); /* IRQ */ @@ -86,52 +86,52 @@ int dpmcp_reset(struct fsl_mc_io *mc_io, */ struct dpmcp_irq_cfg { uint64_t paddr; - uint32_t val; + u32 val; int irq_num; }; int dpmcp_set_irq(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_get_irq(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, int *type, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, uint8_t en); int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, uint8_t *en); int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, - uint32_t mask); + u32 mask); int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, - uint32_t *mask); + u32 *mask); int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, uint8_t irq_index, - uint32_t *status); + u32 *status); /** * struct dpmcp_attr - Structure representing DPMCP attributes @@ -152,7 +152,7 @@ struct dpmcp_attr { }; int dpmcp_get_attributes(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, uint16_t token, struct dpmcp_attr *attr); -- 2.10.2