diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-09-20 09:47:29 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:24:46 +0200 |
commit | 31959392c7db09c13af07dcdc409d306aaa03d4f (patch) | |
tree | 9d08f9ab48b2aa9d885ec6e33c8b83fafcba6bb6 /drivers/staging/greybus/audio_codec.h | |
parent | 19c5a689cc3df512a817b7eb717bad24bb5bd7e8 (diff) | |
download | op-kernel-dev-31959392c7db09c13af07dcdc409d306aaa03d4f.zip op-kernel-dev-31959392c7db09c13af07dcdc409d306aaa03d4f.tar.gz |
staging: greybus: use preferred kernel type u8
As suggested by checkpatch.pl:
CHECK: Prefer kernel type 'u8' over 'uint8_t'
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.h')
-rw-r--r-- | drivers/staging/greybus/audio_codec.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/greybus/audio_codec.h b/drivers/staging/greybus/audio_codec.h index 0a86459..fabaccc 100644 --- a/drivers/staging/greybus/audio_codec.h +++ b/drivers/staging/greybus/audio_codec.h @@ -98,7 +98,7 @@ enum gbaudio_codec_state { struct gbaudio_stream_params { int state; - uint8_t sig_bits, channels; + u8 sig_bits, channels; uint32_t format, rate; }; @@ -221,23 +221,23 @@ void gbaudio_unregister_module(struct gbaudio_module_info *module); extern int gb_audio_gb_get_topology(struct gb_connection *connection, struct gb_audio_topology **topology); extern int gb_audio_gb_get_control(struct gb_connection *connection, - uint8_t control_id, uint8_t index, + u8 control_id, u8 index, struct gb_audio_ctl_elem_value *value); extern int gb_audio_gb_set_control(struct gb_connection *connection, - uint8_t control_id, uint8_t index, + u8 control_id, u8 index, struct gb_audio_ctl_elem_value *value); extern int gb_audio_gb_enable_widget(struct gb_connection *connection, - uint8_t widget_id); + u8 widget_id); extern int gb_audio_gb_disable_widget(struct gb_connection *connection, - uint8_t widget_id); + u8 widget_id); extern int gb_audio_gb_get_pcm(struct gb_connection *connection, uint16_t data_cport, uint32_t *format, - uint32_t *rate, uint8_t *channels, - uint8_t *sig_bits); + uint32_t *rate, u8 *channels, + u8 *sig_bits); extern int gb_audio_gb_set_pcm(struct gb_connection *connection, uint16_t data_cport, uint32_t format, - uint32_t rate, uint8_t channels, - uint8_t sig_bits); + uint32_t rate, u8 channels, + u8 sig_bits); extern int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, uint16_t data_cport, uint16_t size); extern int gb_audio_gb_activate_tx(struct gb_connection *connection, |