net/qede/base: refactor some code bits
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 5 Jan 2017 07:04:06 +0000 (23:04 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:53 +0000 (19:40 +0100)
commit96ebe3b1f0ace05f1138ad015d9c7cb71f13b9b6
treef04ce2589817d273b1e5839ee99e5b6567b60036
parentababb5203de28f5663fa9e442595e0ac68194f4e
net/qede/base: refactor some code bits

Bits of code refactoring in ecore_hw_bar_size(), ecore_get_hw_info()
and ecore_init_cmd_*.

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