summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/system76_acpi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-26 15:53:29 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-07-09 22:40:36 +0300
commiteca6f176209937695db01a37814308d367781ab6 (patch)
treeb62f792b61740ddd64d622992b622ad64199156c /drivers/platform/x86/system76_acpi.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-eca6f176209937695db01a37814308d367781ab6.tar.xz
platform/x86: intel_cht_int33fe: Drop double check for ACPI companion device
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>
Diffstat (limited to 'drivers/platform/x86/system76_acpi.c')
0 files changed, 0 insertions, 0 deletions