Merge branch 'devlink-register'
authorDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2021 09:23:59 +0000 (10:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2021 09:23:59 +0000 (10:23 +0100)
commit3bdc70669eb2d53dc3abef3c1d790bfe408e2e40
tree332d87f6016e62b5a3b051082767a026483999c1
parent299b50fc9e8b986d21e51ac8bac0a880bf8c5fc5
parentd7907a2b1a3b89bea136025f885035a083525e41
Merge branch 'devlink-register'

Leon Romanovsky says:

====================
Remove duplicated devlink registration check

Changelog:
v1:
 * Added two new patches that remove registration field from mlx5 and ti drivers.
v0: https://lore.kernel.org/lkml/ed7bbb1e4c51dd58e6035a058e93d16f883b09ce.1627215829.git.leonro@nvidia.com

--------------------------------------------------------------------

Both registered flag and devlink pointer are set at the same time
and indicate the same thing - devlink/devlink_port are ready. Instead
of checking ->registered use devlink pointer as an indication.
====================

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