net: stmmac: dwc-qos: Change the dwc_eth_dwmac_data's .probe prototype
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 9 Nov 2020 08:05:14 +0000 (16:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Nov 2020 23:15:02 +0000 (15:15 -0800)
commita884915f4cef940dd477e273009fe53c9ba7d656
tree3fbbd27e545e5ea558b4bef1ef46f9889ad8514a
parent214c798ba1a4e8ff3355d933a46b8a1f27d9a9e7
net: stmmac: dwc-qos: Change the dwc_eth_dwmac_data's .probe prototype

The return pointer of dwc_eth_dwmac_data's .probe isn't used, and
"probe" usually return int, so change the prototype to follow standard
way. Secondly, it can simplify the tegra_eqos_probe() code.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20201109160440.3a736ee3@xhacker.debian
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c