staging: greybus: audio_gb.c: Change uint32_t to u32
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Sun, 22 Jan 2017 17:49:21 +0000 (15:49 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jan 2017 08:56:29 +0000 (09:56 +0100)
Change uint32_t to u32, solved the issue reported by checkpatch.pl:

CHECK: Prefer kernel type 'u32' over 'uint32_t'
+ uint32_t *format, uint32_t *rate, u8 *channels,

CHECK: Prefer kernel type 'u32' over 'uint32_t'
+ uint32_t format, uint32_t rate, u8 channels,

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Acked-by: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_gb.c

index 42f287dd7b84c384004e8bee95bfeeb8cf0b38eb..7884d8482dc0b377134f300c778029216e11cfb4 100644 (file)
@@ -108,7 +108,7 @@ int gb_audio_gb_disable_widget(struct gb_connection *connection,
 EXPORT_SYMBOL_GPL(gb_audio_gb_disable_widget);
 
 int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
-                       uint32_t *format, uint32_t *rate, u8 *channels,
+                       u32 *format, u32 *rate, u8 *channels,
                        u8 *sig_bits)
 {
        struct gb_audio_get_pcm_request req;
@@ -132,7 +132,7 @@ int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
 EXPORT_SYMBOL_GPL(gb_audio_gb_get_pcm);
 
 int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport,
-                       uint32_t format, uint32_t rate, u8 channels,
+                       u32 format, u32 rate, u8 channels,
                        u8 sig_bits)
 {
        struct gb_audio_set_pcm_request req;