diff options
-rw-r--r-- | arch/arm/mach-tegra/board-harmony-pcie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-harmony-pcie.c b/arch/arm/mach-tegra/board-harmony-pcie.c index 3cdc1bb8254c..6d29e6a39540 100644 --- a/arch/arm/mach-tegra/board-harmony-pcie.c +++ b/arch/arm/mach-tegra/board-harmony-pcie.c | |||
@@ -56,9 +56,9 @@ int __init harmony_pcie_init(void) | |||
56 | gpio_direction_output(en_vdd_1v05, 1); | 56 | gpio_direction_output(en_vdd_1v05, 1); |
57 | 57 | ||
58 | regulator = regulator_get(NULL, "vdd_ldo0,vddio_pex_clk"); | 58 | regulator = regulator_get(NULL, "vdd_ldo0,vddio_pex_clk"); |
59 | if (IS_ERR_OR_NULL(regulator)) { | 59 | if (IS_ERR(regulator)) { |
60 | pr_err("%s: regulator_get failed: %d\n", __func__, | 60 | err = PTR_ERR(regulator); |
61 | (int)PTR_ERR(regulator)); | 61 | pr_err("%s: regulator_get failed: %d\n", __func__, err); |
62 | goto err_reg; | 62 | goto err_reg; |
63 | } | 63 | } |
64 | 64 | ||