staging: greybus: audio_codec.c: Prefer kernel type 'u32' over 'uint32_t'
authorKamal Heib <kamalheib1@gmail.com>
Wed, 17 Jan 2018 14:52:29 +0000 (16:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 10:49:24 +0000 (11:49 +0100)
Fix the following errors found by checkpatch.pl:
CHECK: Prefer kernel type 'u32' over 'uint32_t'

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c

index fa16a89..35acd55 100644 (file)
@@ -47,7 +47,7 @@ static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec,
        int module_state, ret = 0;
        u16 data_cport, i2s_port, cportid;
        u8 sig_bits, channels;
-       uint32_t format, rate;
+       u32 format, rate;
        struct gbaudio_data_connection *data;
        struct gbaudio_stream_params *params;
 
@@ -182,7 +182,7 @@ static int gbaudio_module_enable_rx(struct gbaudio_codec_info *codec,
        int module_state, ret = 0;
        u16 data_cport, i2s_port, cportid;
        u8 sig_bits, channels;
-       uint32_t format, rate;
+       u32 format, rate;
        struct gbaudio_data_connection *data;
        struct gbaudio_stream_params *params;
 
@@ -412,7 +412,7 @@ static int gbcodec_hw_params(struct snd_pcm_substream *substream,
 {
        int ret;
        u8 sig_bits, channels;
-       uint32_t format, rate;
+       u32 format, rate;
        struct gbaudio_module_info *module;
        struct gbaudio_data_connection *data;
        struct gb_bundle *bundle;