treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / pm8005.dtsi
blob3f97607d8baa89ab1e16a0044c4feacf187bde46
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /* Copyright 2018 Google LLC. */
4 #include <dt-bindings/spmi/spmi.h>
5 #include <dt-bindings/interrupt-controller/irq.h>
7 &spmi_bus {
8         pm8005_lsid0: pmic@4 {
9                 compatible = "qcom,pm8005", "qcom,spmi-pmic";
10                 reg = <0x4 SPMI_USID>;
11                 #address-cells = <1>;
12                 #size-cells = <0>;
14                 pm8005_gpio: gpios@c000 {
15                         compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
16                         reg = <0xc000>;
17                         gpio-controller;
18                         gpio-ranges = <&pm8005_gpio 0 0 4>;
19                         #gpio-cells = <2>;
20                         interrupt-controller;
21                         #interrupt-cells = <2>;
22                 };
24         };
26         pm8005_lsid1: pmic@5 {
27                 compatible = "qcom,pm8005", "qcom,spmi-pmic";
28                 reg = <0x5 SPMI_USID>;
29                 #address-cells = <1>;
30                 #size-cells = <0>;
31         };