sfc: use efx_has_cap for capability checks outside of NIC-specific code
authorEdward Cree <ecree@solarflare.com>
Mon, 11 May 2020 12:28:56 +0000 (13:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 20:31:49 +0000 (13:31 -0700)
commit484a75b1dbc492cca4893718e70daccc05c2ce0b
tree79b7d7124ad1070ce0038a6d4e00377493bdb6c1
parentbe904b855200ef4672c765918b31338b59c4847c
sfc: use efx_has_cap for capability checks outside of NIC-specific code

Removes some efx_ef10_nic_data references from common code.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi_filters.c
drivers/net/ethernet/sfc/ptp.c