diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-09-20 03:47:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 14:24:46 +0300 |
commit | 31959392c7db09c13af07dcdc409d306aaa03d4f (patch) | |
tree | 9d08f9ab48b2aa9d885ec6e33c8b83fafcba6bb6 /drivers/staging/greybus/audio_gb.c | |
parent | 19c5a689cc3df512a817b7eb717bad24bb5bd7e8 (diff) | |
download | linux-31959392c7db09c13af07dcdc409d306aaa03d4f.tar.xz |
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_gb.c')
-rw-r--r-- | drivers/staging/greybus/audio_gb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/greybus/audio_gb.c b/drivers/staging/greybus/audio_gb.c index a2f1c92e7445..c386cd83ca9b 100644 --- a/drivers/staging/greybus/audio_gb.c +++ b/drivers/staging/greybus/audio_gb.c @@ -47,7 +47,7 @@ int gb_audio_gb_get_topology(struct gb_connection *connection, EXPORT_SYMBOL_GPL(gb_audio_gb_get_topology); 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) { struct gb_audio_get_control_request req; @@ -69,7 +69,7 @@ int gb_audio_gb_get_control(struct gb_connection *connection, EXPORT_SYMBOL_GPL(gb_audio_gb_get_control); 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) { struct gb_audio_set_control_request req; @@ -84,7 +84,7 @@ int gb_audio_gb_set_control(struct gb_connection *connection, EXPORT_SYMBOL_GPL(gb_audio_gb_set_control); int gb_audio_gb_enable_widget(struct gb_connection *connection, - uint8_t widget_id) + u8 widget_id) { struct gb_audio_enable_widget_request req; @@ -96,7 +96,7 @@ int gb_audio_gb_enable_widget(struct gb_connection *connection, EXPORT_SYMBOL_GPL(gb_audio_gb_enable_widget); int gb_audio_gb_disable_widget(struct gb_connection *connection, - uint8_t widget_id) + u8 widget_id) { struct gb_audio_disable_widget_request req; @@ -108,8 +108,8 @@ 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, uint16_t data_cport, - uint32_t *format, uint32_t *rate, uint8_t *channels, - uint8_t *sig_bits) + uint32_t *format, uint32_t *rate, u8 *channels, + u8 *sig_bits) { struct gb_audio_get_pcm_request req; struct gb_audio_get_pcm_response resp; @@ -132,8 +132,8 @@ int gb_audio_gb_get_pcm(struct gb_connection *connection, uint16_t data_cport, EXPORT_SYMBOL_GPL(gb_audio_gb_get_pcm); 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 format, uint32_t rate, u8 channels, + u8 sig_bits) { struct gb_audio_set_pcm_request req; |