diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-02-10 20:06:24 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-03-30 08:34:56 +0200 |
commit | f8db89d14efb770dd59aa0ca74386e5de68310d5 (patch) | |
tree | 471d3767b7204f18e460a1cfbab445f73467f108 /drivers/mfd/max8998-irq.c | |
parent | Merge branches 'ib-mfd-iio-input-5.7' and 'ib-mfd-iio-rtc-5.7' into ibs-for-m... (diff) | |
download | linux-f8db89d14efb770dd59aa0ca74386e5de68310d5.tar.xz linux-f8db89d14efb770dd59aa0ca74386e5de68310d5.zip |
mfd: cros_ec: Check DT node for usbpd-notify add
Add a check to ensure there is indeed an EC device tree entry before
adding the cros-usbpd-notify device. This covers configs where both
CONFIG_ACPI and CONFIG_OF are defined, but the EC device is defined
using device tree and not in ACPI.
Fixes: 4602dce0361e ("mfd: cros_ec: Add cros-usbpd-notify subdevice")
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max8998-irq.c')
0 files changed, 0 insertions, 0 deletions