[PATCH 4/133] [Jaunty SRU] ARM.imx51 Freescale:ENGR00109027-2 API changes for new regulator interface.
Brad Figg
brad.figg at canonical.com
Thu Jul 9 16:47:54 UTC 2009
1 more changes needed for the new regulator interface.
Note: This is a partial application of this patch. A second part of
the patch was dropped as it was patching a file that does not
exist in our tree (drivers/char/mxc_si4702.c)
Signed-off-by: Ann Thornton <Ann.Thornton at freescale.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
drivers/mxc/pmic/core/pmic_core_i2c.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mxc/pmic/core/pmic_core_i2c.c b/drivers/mxc/pmic/core/pmic_core_i2c.c
index 750cf49..921964f 100644
--- a/drivers/mxc/pmic/core/pmic_core_i2c.c
+++ b/drivers/mxc/pmic/core/pmic_core_i2c.c
@@ -274,7 +274,7 @@ static int __devinit pmic_probe(struct i2c_client *client,
static int pmic_remove(struct i2c_client *client)
{
- int pmic_irq = (int)(client->dev.platform_data);
+ int pmic_irq = (int)(client->irq);
if (pmic_event_wq)
destroy_workqueue(pmic_event_wq);
--
1.6.0.4
More information about the kernel-team
mailing list