All of lore.kernel.org
 help / color / mirror / Atom feed
* [Resend PATCH 1/2] twl4030: Do not dereference null pointer in error path
@ 2009-10-20 13:22 Ilkka Koskinen
  2009-10-20 13:22 ` [Resend PATCH 2/2] twl4030: Enable low-power mode to 32kHz oscillator Ilkka Koskinen
  2009-10-21 22:22 ` [Resend PATCH 1/2] twl4030: Do not dereference null pointer in error path Samuel Ortiz
  0 siblings, 2 replies; 5+ messages in thread
From: Ilkka Koskinen @ 2009-10-20 13:22 UTC (permalink / raw)
  To: sameo; +Cc: linux-kernel, linux-omap

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
---
 drivers/mfd/twl4030-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c
index e424cf6..8cf0a02 100644
--- a/drivers/mfd/twl4030-core.c
+++ b/drivers/mfd/twl4030-core.c
@@ -792,7 +792,7 @@ twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id)
 			twl->client = i2c_new_dummy(client->adapter,
 					twl->address);
 			if (!twl->client) {
-				dev_err(&twl->client->dev,
+				dev_err(&client->dev,
 					"can't attach client %d\n", i);
 				status = -ENOMEM;
 				goto fail;
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-22 11:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 13:22 [Resend PATCH 1/2] twl4030: Do not dereference null pointer in error path Ilkka Koskinen
2009-10-20 13:22 ` [Resend PATCH 2/2] twl4030: Enable low-power mode to 32kHz oscillator Ilkka Koskinen
2009-10-21 22:17   ` Samuel Ortiz
2009-10-22 11:05     ` Ilkka Koskinen
2009-10-21 22:22 ` [Resend PATCH 1/2] twl4030: Do not dereference null pointer in error path Samuel Ortiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.