diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-03 19:56:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:41 -0700 |
commit | 642768eec5e5d8cd1e239828e3b5e23ae45b131a (patch) | |
tree | 32a2b5c6d993cfdc481417aefd38e7e4fd46de92 /drivers/watchdog/omap_wdt.h | |
parent | 19a334890b11c5b622e35eca352728a42bfe4396 (diff) | |
download | linux-642768eec5e5d8cd1e239828e3b5e23ae45b131a.tar.bz2 |
staging: wilc1000: remove wrappers around sema_init()
Just call the function directly. Also remove a pointless "deinit"
function that was empty to match the init function.
This also fixes a bug where txq_add_to_head_cs was a mutex structure
being used as a semaphore. See the fun things that happen when you use
void pointers instead of "real" types? Amazing that this worked at all,
someone got _very_ lucky. Whoever "Amr" is, they really didn't fix
BugID_4720 correctly :(
Cc: Johnny Kim <johnny.kim@atmel.com>
Cc: Rachel Kim <rachel.kim@atmel.com>
Cc: Dean Lee <dean.lee@atmel.com>
Cc: Chris Park <chris.park@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/omap_wdt.h')
0 files changed, 0 insertions, 0 deletions