net/qede/base: initialize resc lock/unlock params
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:30:01 +0000 (18:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit40a373fcc7fae67a27522c17cd487bc0623fd592
tree5b587286c7d6c41431871c92ad7eb115ff4de8e2
parent2292589a68c1c0687d823744566cb1be3fff4606
net/qede/base: initialize resc lock/unlock params

Add a function that provides default initialization to resc lock/unlock
parameters. Change acquire flow that use resources into using this
function.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp.h