net/mlx5e: Use auxiliary_device driver data helpers
authorDavid E. Box <david.e.box@linux.intel.com>
Tue, 21 Dec 2021 23:58:51 +0000 (15:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 12:59:01 +0000 (13:59 +0100)
commita5f8ef0baf9a018cde00bd0a960060a306d9021f
tree0e31b0ec32e243b6dc5c26e0f120cb92e772b590
parent3edac08e18961b3f2ac883f1dc209f36deb218be
net/mlx5e: Use auxiliary_device driver data helpers

Use auxiliary_get_drvdata and auxiliary_set_drvdata helpers.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20211221235852.323752-4-david.e.box@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c