summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-04-07 12:30:52 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-17 16:47:26 +0300
commit4dbccb873f2b35ad1b26419ff88c80509e2d4cbb (patch)
tree5e3675010c3c14baa660a0c9dd8138b442bfcd00 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
platform/x86: surface3_power: Fix a NULL vs IS_ERR() check in probe
The i2c_acpi_new_device() function never returns NULL, it returns error pointers. Fixes: b1f81b496b0d ("platform/x86: surface3_power: MSHW0011 rev-eng implementation") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions