diff options
author | 2019-01-01 22:10:53 +0800 | |
---|---|---|
committer | 2019-01-03 12:27:17 +0000 | |
commit | 082531444e454bac6f743ec064203bf8812bc9ac (patch) | |
tree | 0706277265c121c4a09986c507f231e53b7104b9 /tools/perf/scripts/python | |
parent | spi: sh-msiof: Reduce the number of times write to and perform the transmission from FIFO (diff) | |
download | linux-dev-082531444e454bac6f743ec064203bf8812bc9ac.tar.xz linux-dev-082531444e454bac6f743ec064203bf8812bc9ac.zip |
spi: npcm-pspi: Fix wrong priv pointer
In npcm_pspi_probe(), current code set platform_set_drvdata(pdev, master);
so in npcm_pspi_remove() platform_get_drvdata(pdev) will return pointer to
master rather than priv. Fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions