diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-22 17:40:33 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-12-27 12:46:14 +0200 |
commit | f7747be1410321de8a92e340c5ca6c18a59770e9 (patch) | |
tree | 9eb430be100c3a5a0bd53bb121d5942ff265b579 /drivers/gpu/drm/i915/display/intel_opregion.h | |
parent | 798c5daf3cddff3f39c5542a50a2dbd83879b05d (diff) |
drm/i915/dsi: Drop double check ACPI companion device for NULL
acpi_dev_get_resources() does perform the NULL pointer check against
ACPI companion device which is given as function parameter. Thus,
there is no need to duplicate this check in the caller.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222154033.6770-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_opregion.h')
0 files changed, 0 insertions, 0 deletions