mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] twl4030: Do not dereference null pointer in error path
@ 2009-09-30 15:11 Ilkka Koskinen
  2009-09-30 15:11 ` [PATCH 2/2] twl4030: Enable low-power mode to 32KHz oscillator Ilkka Koskinen
  2009-10-16 14:21 ` [PATCH 1/2] twl4030: Do not dereference null pointer in error path ilkka.koskinen
  0 siblings, 2 replies; 5+ messages in thread
From: Ilkka Koskinen @ 2009-09-30 15:11 UTC (permalink / raw)
  To: linux-kernel, sameo; +Cc: linux-omap, ilkka.koskinen

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	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-20 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-30 15:11 [PATCH 1/2] twl4030: Do not dereference null pointer in error path Ilkka Koskinen
2009-09-30 15:11 ` [PATCH 2/2] twl4030: Enable low-power mode to 32KHz oscillator Ilkka Koskinen
2009-10-16 14:21 ` [PATCH 1/2] twl4030: Do not dereference null pointer in error path ilkka.koskinen
2009-10-19 15:52   ` Samuel Ortiz
2009-10-20 13:19     ` ilkka.koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome