drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function
authorSurendra Patil <surendra.tux@gmail.com>
Tue, 4 Mar 2014 07:57:47 +0000 (23:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Mar 2014 00:49:37 +0000 (16:49 -0800)
commit6b029336d93d8f9a94b0256b1f7d9c1768eedba7
tree8786c0d2d50c5c789e78c5d3d0311bd42f4abf33
parent5c2f26def8f3bb252c32df4cbe0979140d8face6
drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function

* Replaced all the spin lock/unlock wrappers from oz_polling_lock_bh()
and oz_polllin_unlock_bh() with spin_lock_bh(&g_polling_lock) and
spin_unlock_bh(&g_polling_lock).Completely erased the wrappers defination
and declaration.
* declared g_polling_lock as global variable in header file and added comments to it.
Module builded successfully with sparse without warnings.

Signed-off-by: Surendra Patil <surendra.tux@gmail.com>
Acked-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozpd.c
drivers/staging/ozwpan/ozpd.h
drivers/staging/ozwpan/ozproto.c
drivers/staging/ozwpan/ozproto.h