diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-09-07 01:16:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-07 17:04:51 +0100 |
commit | b9a947dd756b7af84ababa57e0524788f91a5382 (patch) | |
tree | 7d83a32c9d56c8804da8918e91bcdda63b54fda5 /drivers/spi/spi-gpio.c | |
parent | b9e49520c1144cb4109ec6ed1fa76c326da850d0 (diff) | |
download | linux-b9a947dd756b7af84ababa57e0524788f91a5382.tar.bz2 |
spi: pic32: remove unnecessary of_node_get()
Almost all spi drivers assign spi master->dev.of_node from
its parent platform device without additional refcounting.
It seems of_node_get() in pic32_spi_probe() is unnecessary
and there is no corresponding of_node_put().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-gpio.c')
0 files changed, 0 insertions, 0 deletions