Re: [PATCH v4] HID: Remove the semaphore driver_lock

2017-08-01 Thread Jiri Kosina
On Wed, 14 Jun 2017, Binoy Jayan wrote: > The semaphore 'driver_lock' is used as a simple mutex, and > also unnecessary as suggested by Arnd. Hence removing it, as > the concurrency between the probe and remove is already > handled in the driver core. > > Suggested-by: Arnd Bergmann > Signed-off

[PATCH v4] HID: Remove the semaphore driver_lock

2017-06-14 Thread Binoy Jayan
The semaphore 'driver_lock' is used as a simple mutex, and also unnecessary as suggested by Arnd. Hence removing it, as the concurrency between the probe and remove is already handled in the driver core. Suggested-by: Arnd Bergmann Signed-off-by: Binoy Jayan Acked-by: Benjamin Tissoires Reviewe