diff options
author | Deepak R Varma <drv@mailo.com> | 2022-10-20 20:20:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 10:59:49 +0300 |
commit | ea679d8e032b0affc65c9d56b7bad3ef144366e1 (patch) | |
tree | 7bc9cabb8b39595e85bf5c19896b877cc89266a9 /drivers/staging/most/dim2/hal.c | |
parent | 1f3e0b41919208be71f869a753609d6c11e12e85 (diff) | |
download | linux-ea679d8e032b0affc65c9d56b7bad3ef144366e1.tar.xz |
staging: most: dim2: correct misleading struct type name
Correct the misleading struct type name dim_ch_state_t to dim_ch_state
since this not a typedef but a normal structure declaration.
Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y1GDQO+06fD24Pf/@debian-BULLSEYE-live-builder-AMD64
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/dim2/hal.c')
-rw-r--r-- | drivers/staging/most/dim2/hal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/dim2/hal.c b/drivers/staging/most/dim2/hal.c index 65282c276862..a5d40b5b138a 100644 --- a/drivers/staging/most/dim2/hal.c +++ b/drivers/staging/most/dim2/hal.c @@ -943,8 +943,8 @@ u8 dim_service_channel(struct dim_channel *ch) return channel_service(ch); } -struct dim_ch_state_t *dim_get_channel_state(struct dim_channel *ch, - struct dim_ch_state_t *state_ptr) +struct dim_ch_state *dim_get_channel_state(struct dim_channel *ch, + struct dim_ch_state *state_ptr) { if (!ch || !state_ptr) return NULL; |