Re: [PATCH v3] HID: Replace semaphore driver_lock with mutex

2017-06-13 Thread Benjamin Tissoires
Hi Binoy, Looks good to me. However (and maybe Jiri can amend this while applying the patch), the title still says "HID: Replace semaphore driver_lock with mutex" while you killed it altogether... Cheers, Benjamin On Jun 14 2017 or thereabouts, Binoy Jayan wrote: > The semaphore 'driver_lock' is

[PATCH v3] HID: Replace semaphore driver_lock with mutex

2017-06-13 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