diff options
| author | 2025-10-17 19:04:34 +0300 | |
|---|---|---|
| committer | 2025-10-17 17:21:03 +0100 | |
| commit | 0cc08c8130ac8f74419f99fe707dc193b7f79d86 (patch) | |
| tree | 2f2455d6745d33534c800ca952cfb3dc1446eb23 /include/linux/dsa/ssh:/git@git.zx2c4.com | |
| parent | spi: aspeed: fix spelling mistake "triming" -> "trimming" (diff) | |
spi: aspeed: Fix an IS_ERR() vs NULL bug in probe()
The platform_get_resource() function doesn't return error pointers, it
returns NULL on error. Update the error checking to match.
Fixes: 64d87ccfae33 ("spi: aspeed: Only map necessary address window region")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aPJpEnfK31pHz8_w@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/dsa/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
