ice: refactor devlink getter/fallback functions to void
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 20 Aug 2021 15:09:50 +0000 (08:09 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 28 Sep 2021 16:42:04 +0000 (09:42 -0700)
commit0128cc6e928dffb2db161c97f196b23a4be0b9ba
tree8cc0afdfd2f3077d4029a9b66592788be9343768
parent4fc5fbee5cb7dda1411fcb44e1f3d95a86af53ea
ice: refactor devlink getter/fallback functions to void

After commit a8f89fa27773 ("ice: do not abort devlink info if board
identifier can't be found"), the getter/fallback() functions no longer
report an error. Convert the interface to a void so that it is no
longer possible to add a version field that is fatal. This makes
sense, because we should not fail to report other versions just
because one of the version pieces could not be found.

Finally, clean up the getter functions line wrapping so that none of
them take more than 80 columns, as is the usual style for networking
files.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_devlink.c