Merge branch 'devlink-small-improvements'
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 23:14:58 +0000 (16:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 23:14:58 +0000 (16:14 -0700)
Parav Pandit says:

====================
devlink small improvements

This short series improves the devlink code for lock commment,
simplifying checks and keeping the scope of mutex lock for necessary
fields.

Patch summary:
Patch-1 Keep the devlink_mutex for only for necessary changes.
Patch-2 Avoids duplicate check for reload flag
Patch-3 Adds missing comment for the scope of devlink instance lock
Patch-4 Constify devlink instance pointer
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge