summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranck Demathieu <fdemathieu@gmail.com>2017-01-25 18:38:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-27 09:29:23 +0100
commit946d7c78a07e78bcfb9e47d123e3f0c216bc3c74 (patch)
tree2259fb7675ba7387cd92e499a310ae35aa02b422
parent414850d9ce650bf75576126e52948595e3bbf871 (diff)
downloadlinux-stable-946d7c78a07e78bcfb9e47d123e3f0c216bc3c74.tar.gz
linux-stable-946d7c78a07e78bcfb9e47d123e3f0c216bc3c74.tar.bz2
linux-stable-946d7c78a07e78bcfb9e47d123e3f0c216bc3c74.zip
staging: greybus: sdio: Prefer u32 over uint32_t
It fixes the following issue reported by checkpatch.pl: Prefer kernel type 'u32' over 'uint32_t' Signed-off-by: Franck Demathieu <fdemathieu@gmail.com> Acked-by: Rui Miguel Silva <rmfrfs@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/greybus/sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c
index 66b37ea29ef0..101ca5097fc9 100644
--- a/drivers/staging/greybus/sdio.c
+++ b/drivers/staging/greybus/sdio.c
@@ -52,7 +52,7 @@ struct gb_sdio_host {
static inline bool single_op(struct mmc_command *cmd)
{
- uint32_t opcode = cmd->opcode;
+ u32 opcode = cmd->opcode;
return opcode == MMC_WRITE_BLOCK ||
opcode == MMC_READ_SINGLE_BLOCK;