diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-11-23 10:20:24 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-11-23 13:25:59 +0000 |
| commit | 428f977a6a6b43154928571b01fa8415c11a9244 (patch) | |
| tree | d92a0702e036c1299044987e365edf59668f9e90 /tools/perf/scripts/python | |
| parent | spi: pxa2xx: Fix '"CONFIG_OF" is not defined' warning (diff) | |
| download | linux-428f977a6a6b43154928571b01fa8415c11a9244.tar.gz linux-428f977a6a6b43154928571b01fa8415c11a9244.zip | |
spi: npcm: Fix an error code in the probe function
There is an IS_ERR() vs PTR_ERR() typo here. The current code returns 1
but we want to return the negative error code.
Fixes: 2a22f1b30cee ("spi: npcm: add NPCM PSPI controller driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
