summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2020-09-15 11:40:52 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-15 15:57:16 -0700
commitb79cb787ac70adcbef0f3680365a588380eedb6f (patch)
treebb1e438ae6ddac8bc1d880dad166a0b3935e66c1 /drivers/platform
parenteab1924a2d3a5bf0d45d06d630e3b47c2d81ce2d (diff)
mlxsw: Move fw flashing code into core.c
As the firmware flashing is not specific to Spectrum, move the code to core.c and avoid one op call and 2 exported symbols. Also, this allows to do flash before call of driver->init function and possibly do other core calls in between. Do some small renaming here and there on the way to be consistent with the rest of core.c code. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions