diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-04-07 22:58:15 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-08 14:07:30 +0700 |
commit | 6599be346daf9250b9fddfdea30a1d4779538730 (patch) | |
tree | 1854033243dd305a6cc7745661633bb4973b3dc6 /Makefile | |
parent | 9d8371e287b9bd8f5b28386e6d7e8e9514a40aad (diff) | |
download | linux-6599be346daf9250b9fddfdea30a1d4779538730.tar.bz2 |
spi: fsl-lpspi: Fix problematic dev_set_drvdata call
The original code already set controller as drvdata:
platform_set_drvdata(pdev, controller);
But commit 944c01a889d9 ("spi: lpspi: enable runtime pm for lpspi")
added dev_set_drvdata(&pdev->dev, fsl_lpspi);
so fsl_lpspi_remove() will get wrong pointer by platform_get_drvdata().
Fixes: 944c01a889d9 ("spi: lpspi: enable runtime pm for lpspi")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions