diff options
| author | Dan Carpenter <[email protected]> | 2017-04-20 13:26:18 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-04-26 07:24:48 +0100 |
| commit | 35fa70dfd6e6f270d7aabb3470855208b11ac9fb (patch) | |
| tree | e5bf52d2495c28e01b61642ba1ccff0cf740f6e0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
| parent | 6272c0de13abf1480f701d38288f28a11b4301c4 (diff) | |
iio: adc: Max9611: checking for ERR_PTR instead of NULL in probe
devm_iio_device_alloc() doesn't return ERR_PTRs, it returns NULLs.
Fixes: 69780a3bbc0b ("iio: adc: Add Maxim max9611 ADC driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions