diff options
author | Marek Vasut <marex@denx.de> | 2020-05-29 01:21:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-29 02:30:03 +0300 |
commit | 2f3271c952bfa9486aa3746f591788c983fc280d (patch) | |
tree | 09ee76b39a0c06908c20de4b1f6fd9c4d465164a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | bfd1e0eb08f6ac25659e3d9bfd80b8ddffe57c94 (diff) | |
download | linux-2f3271c952bfa9486aa3746f591788c983fc280d.tar.xz |
net: ks8851: Replace dev_err() with netdev_err() in IRQ handler
Use netdev_err() instead of dev_err() to avoid accessing the spidev->dev
in the interrupt handler. This is the only place which uses the spidev
in this function, so replace it with netdev_err() to get rid of it. This
is done in preparation for unifying the KS8851 SPI and parallel drivers.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions