Staging: most: Remove atomic_counter_t typedef
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Sat, 12 Mar 2016 08:33:09 +0000 (14:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Remove atomic_counter_t typedef, use int instead.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hal.h

index fc73d4f..9f8e880 100644 (file)
@@ -42,14 +42,12 @@ struct dim_ch_state_t {
        u16 done_buffers; /* Number of completed buffers */
 };
 
-typedef int atomic_counter_t;
-
 struct int_ch_state {
        /* changed only in interrupt context */
-       volatile atomic_counter_t request_counter;
+       volatile int request_counter;
 
        /* changed only in task context */
-       volatile atomic_counter_t service_counter;
+       volatile int service_counter;
 
        u8 idx1;
        u8 idx2;