net/i40e/base: code refactoring for LED blink
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 9 Jan 2018 20:30:06 +0000 (15:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit7de1dafad2159b9fc137de523eccf60760748ca1
treeb6938fb9b6be05a8c9a2872decb1c8d788c89588
parentb3cd767cbc523c2e72687c656c6ca45d87e59caf
net/i40e/base: code refactoring for LED blink

Code refactory, wrap repeated code in function.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_common.c