summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/micrel/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-05-29 00:21:31 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-28 16:30:04 -0700
commit848fc0ce6cb84430c4b1dd0a749015ad9af1b766 (patch)
treeb646465143e3e324c33acdd37f38616a761f798a /drivers/net/ethernet/micrel/Makefile
parent2f3271c952bfa9486aa3746f591788c983fc280d (diff)
net: ks8851: Pass device node into ks8851_init_mac()
Since the driver probe function already has a struct device *dev pointer and can easily derive of_node pointer from it, pass the of_node pointer as a parameter to ks8851_init_mac() to avoid fishing it out from ks->spidev. This is the only reference to spidev in the function, so get rid of it. This is done in preparation for unifying the KS8851 SPI and parallel bus drivers. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> Cc: David S. Miller <davem@davemloft.net> Cc: Lukas Wunner <lukas@wunner.de> Cc: Petr Stetiar <ynezz@true.cz> Cc: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel/Makefile')
0 files changed, 0 insertions, 0 deletions