staging: most: change type of access_ref
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:53:05 +0000 (10:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
commitb3c9f3c56c41cbebe7804b48ba8e6e484509c2c0
tree3f07bc17f030f977356df8aaae9d9fc8d7322f41
parentfa96b8ed9cc562827b27181de7285c8fba54f395
staging: most: change type of access_ref

This patch changes the type of the access reference from atomit_t to int.
It is needed, because the reference variable is secured by synchronization
locks and does not need to be atomic anymore.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c