summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-28 16:18:58 +0200
committerWolfram Sang <wsa@kernel.org>2020-05-28 18:01:20 +0200
commit3e34b5135b39c4d530494e08d56b12f5b1396aa6 (patch)
tree826d88043900a21a892c83df646abb1e708d470e /kernel/params.c
parenti2c: nvidia-gpu: Use PTR_ERR_OR_ZERO() to simplify code (diff)
downloadlinux-3e34b5135b39c4d530494e08d56b12f5b1396aa6.tar.xz
linux-3e34b5135b39c4d530494e08d56b12f5b1396aa6.zip
i2c: acpi: 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> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions