]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fe90c57c84f26596db3b08c1d140977b0f621f1
tree3fbbd27e545e5ea558b4bef1ef46f9889ad8514a
parenta075342b1e8d8af9cb8cf4071f3a37404c7285f3
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