Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f9403db authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren
Browse files

ARM: OMAP2+: omap_twl: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER



To facilitate upcoming cleanup in twl stack.
No functional change.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e8d3d47a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@ int __init omap3_twl_set_sr_bit(bool enable)
	if (twl_sr_enable_autoinit)
		pr_warning("%s: unexpected multiple calls\n", __func__);

	ret = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &temp,
	ret = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp,
			      TWL4030_DCDC_GLOBAL_CFG);
	if (ret)
		goto err;
@@ -302,7 +302,7 @@ int __init omap3_twl_set_sr_bit(bool enable)
	else
		temp &= ~SMARTREFLEX_ENABLE;

	ret = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, temp,
	ret = twl_i2c_write_u8(TWL_MODULE_PM_RECEIVER, temp,
			       TWL4030_DCDC_GLOBAL_CFG);
	if (!ret) {
		twl_sr_enable_autoinit = true;