summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/acerhdf.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2023-06-12 17:31:02 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-06-14 13:12:20 +0200
commitfb6ac45e86668456e5750d2a1c874ca2f5526171 (patch)
tree667b0b97e9d715f14bcb1d643d9dca937ee719b1 /drivers/platform/x86/acerhdf.c
parent76962b802efe27a32425d2abe818e53167c71dbe (diff)
mlxsw: spectrum_router: Access rif->dev through a helper
In order to abstract away deduction of netdevice from the corresponding RIF, introduce a helper, mlxsw_sp_rif_dev(), and use it throughout. This will make it possible to change the deduction path easily later on. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/platform/x86/acerhdf.c')
0 files changed, 0 insertions, 0 deletions