]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: greybus: sdio: Prefer u32 over uint32_t
authorFranck Demathieu <fdemathieu@gmail.com>
Wed, 25 Jan 2017 17:38:01 +0000 (18:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2017 08:29:23 +0000 (09:29 +0100)
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>
drivers/staging/greybus/sdio.c

index 66b37ea29ef0641085bebe59c81ac9ed6e6ec3bb..101ca5097fc9f5f05b158f3f36d31237306eb078 100644 (file)
@@ -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;