diff options
| author | kernel test robot <[email protected]> | 2020-06-08 01:02:53 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2020-06-16 08:19:53 +0000 |
| commit | 3e5b8f87994e1269a7a9ea1862df163b110932eb (patch) | |
| tree | 6e1174ce8e6f21682c293f6473d8676a3e7c62ea /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | pinctrl: tegra: Use noirq suspend/resume callbacks (diff) | |
| download | kernel-3e5b8f87994e1269a7a9ea1862df163b110932eb.tar.gz kernel-3e5b8f87994e1269a7a9ea1862df163b110932eb.zip | |
pinctrl: mcp23s08: Split to three parts: fix ptr_ret.cocci warnings
drivers/pinctrl/pinctrl-mcp23s08_spi.c:129:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Fixes: 0f04a81784fe ("pinctrl: mcp23s08: Split to three parts: core, I²C, SPI")
Signed-off-by: kernel test robot <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
CC: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/20200608010253.GA79576@44f7ab9e8d59
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
