Re: [PATCH 14/16] staging: wilc1000: remove semaphore wrapper

2015-05-30 Thread Sudip Mukherjee
On Fri, May 29, 2015 at 10:52:25PM +0200, Arnd Bergmann wrote: The various semaphore functions all directly translate into sema_init(), down() and up(), so we can just remove the API. This is a mostly automated conversion using simple sed scripts, plus some manual changes to account for

[PATCH 14/16] staging: wilc1000: remove semaphore wrapper

2015-05-29 Thread Arnd Bergmann
The various semaphore functions all directly translate into sema_init(), down() and up(), so we can just remove the API. This is a mostly automated conversion using simple sed scripts, plus some manual changes to account for down() returning no error. As a positive side-effect, down() no longer