From: Arnd Bergmann Date: Mon, 1 Jun 2015 19:06:43 +0000 (+0200) Subject: staging: wilc1000: remove semaphore wrapper X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~373 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83383ea33c63a622619acf2b979037ee775500dd;p=pandora-kernel.git staging: wilc1000: remove semaphore wrapper 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 hangs after receiving a signal, as the original code did by looping around down_interruptible. The semaphores still need to be turned into mutexes as a follow-up step. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed