From 2673415c4013b616362db1c7736b4e1eabc76b46 Mon Sep 17 00:00:00 2001 From: Rabin Vincent Date: Wed, 21 Apr 2010 21:06:05 +0530 Subject: [PATCH] --- yaml --- r: 199398 b: refs/heads/master c: e47a3bbe4ffd4afe2b24c912598aee7ea1ecf738 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/mfd/wm8350-i2c.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index cf975286efa3..883f4b6435f1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fffba64ca37e8f06020f89e878f0d76a8e121c4e +refs/heads/master: e47a3bbe4ffd4afe2b24c912598aee7ea1ecf738 diff --git a/trunk/drivers/mfd/wm8350-i2c.c b/trunk/drivers/mfd/wm8350-i2c.c index aa3ba0974ee5..7795af4b1fe1 100644 --- a/trunk/drivers/mfd/wm8350-i2c.c +++ b/trunk/drivers/mfd/wm8350-i2c.c @@ -64,10 +64,8 @@ static int wm8350_i2c_probe(struct i2c_client *i2c, int ret = 0; wm8350 = kzalloc(sizeof(struct wm8350), GFP_KERNEL); - if (wm8350 == NULL) { - kfree(i2c); + if (wm8350 == NULL) return -ENOMEM; - } i2c_set_clientdata(i2c, wm8350); wm8350->dev = &i2c->dev;