diff options
Diffstat (limited to 'arch/arm/mach-tegra/panel-c-lvds-1366-14.c')
-rw-r--r-- | arch/arm/mach-tegra/panel-c-lvds-1366-14.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/panel-c-lvds-1366-14.c b/arch/arm/mach-tegra/panel-c-lvds-1366-14.c index b77b5b56afac..47af92c8bea1 100644 --- a/arch/arm/mach-tegra/panel-c-lvds-1366-14.c +++ b/arch/arm/mach-tegra/panel-c-lvds-1366-14.c @@ -89,7 +89,7 @@ static int laguna_lvds_regulator_get(struct device *dev) return 0; vdd_ds_1v8 = regulator_get(dev, "vdd_ds_1v8"); - if (IS_ERR_OR_NULL(vdd_ds_1v8)) { + if (IS_ERR(vdd_ds_1v8)) { pr_err("vdd_ds_1v8 regulator get failed\n"); err = PTR_ERR(vdd_ds_1v8); vdd_ds_1v8 = NULL; @@ -97,7 +97,7 @@ static int laguna_lvds_regulator_get(struct device *dev) } vdd_lcd_bl = regulator_get(dev, "vdd_lcd_bl"); - if (IS_ERR_OR_NULL(vdd_lcd_bl)) { + if (IS_ERR(vdd_lcd_bl)) { pr_err("vdd_lcd_bl regulator get failed\n"); err = PTR_ERR(vdd_lcd_bl); vdd_lcd_bl = NULL; @@ -105,7 +105,7 @@ static int laguna_lvds_regulator_get(struct device *dev) } vdd_lcd_bl_en = regulator_get(dev, "vdd_lcd_bl_en"); - if (IS_ERR_OR_NULL(vdd_lcd_bl_en)) { + if (IS_ERR(vdd_lcd_bl_en)) { pr_err("vdd_lcd_bl_en regulator get failed\n"); err = PTR_ERR(vdd_lcd_bl_en); vdd_lcd_bl_en = NULL; @@ -113,7 +113,7 @@ static int laguna_lvds_regulator_get(struct device *dev) } avdd_lcd = regulator_get(dev, "avdd_lcd"); - if (IS_ERR_OR_NULL(avdd_lcd)) { + if (IS_ERR(avdd_lcd)) { pr_err("avdd_lcd regulator get failed\n"); err = PTR_ERR(avdd_lcd); avdd_lcd = NULL; @@ -121,7 +121,7 @@ static int laguna_lvds_regulator_get(struct device *dev) } dvdd_lcd_1v8 = regulator_get(dev, "dvdd_lcd"); - if (IS_ERR_OR_NULL(dvdd_lcd_1v8)) { + if (IS_ERR(dvdd_lcd_1v8)) { pr_err("dvdd_lcd regulator get failed\n"); err = PTR_ERR(dvdd_lcd_1v8); dvdd_lcd_1v8 = NULL; |