Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: greybus: audio_codec.h: Prefer kernel type 'u32' over 'uint32_t'

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>

authored by

Kamal Heib and committed by
Greg Kroah-Hartman
b822e33a 6236015f

+5 -5
+5 -5
drivers/staging/greybus/audio_codec.h
··· 53 53 struct gbaudio_stream_params { 54 54 int state; 55 55 u8 sig_bits, channels; 56 - uint32_t format, rate; 56 + u32 format, rate; 57 57 }; 58 58 59 59 struct gbaudio_codec_dai { ··· 183 183 extern int gb_audio_gb_disable_widget(struct gb_connection *connection, 184 184 u8 widget_id); 185 185 extern int gb_audio_gb_get_pcm(struct gb_connection *connection, 186 - u16 data_cport, uint32_t *format, 187 - uint32_t *rate, u8 *channels, 186 + u16 data_cport, u32 *format, 187 + u32 *rate, u8 *channels, 188 188 u8 *sig_bits); 189 189 extern int gb_audio_gb_set_pcm(struct gb_connection *connection, 190 - u16 data_cport, uint32_t format, 191 - uint32_t rate, u8 channels, 190 + u16 data_cport, u32 format, 191 + u32 rate, u8 channels, 192 192 u8 sig_bits); 193 193 extern int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, 194 194 u16 data_cport, u16 size);