linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: Axel Lin <axel.lin@ingics.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Wolfram Sang <wsa@the-dreams.de>,
	Alexandre Courbot <gnurou@gmail.com>,
	linux-gpio@vger.kernel.org, Jingoo Han <jg1.han@samsung.com>
Subject: Re: [PATCH] gpio: max730x: Remove kfree(ts) in __max730x_remove()
Date: Mon, 14 Apr 2014 10:21:09 +0200	[thread overview]
Message-ID: <201404141021.09250.jbe@pengutronix.de> (raw)
In-Reply-To: <1397460641.23515.3.camel@phoenix>

On Monday 14 April 2014 09:30:41 Axel Lin wrote:
> From f52622585aeb4cf785c78548e440993a1e9625b1 Mon Sep 17 00:00:00 2001
> From: Axel Lin <axel.lin@ingics.com>
> Date: Mon, 14 Apr 2014 15:20:15 +0800
> Subject: [PATCH] gpio: max730x: Remove kfree(ts) in __max730x_remove()
>
> The memory for ts is allocated by devm_kzalloc now, so the kfree is not
> required.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Good catch.

Acked-by: Juergen Beisert <jbe@pengutronix.de>

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-04-14  8:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14  7:30 [PATCH] gpio: max730x: Remove kfree(ts) in __max730x_remove() Axel Lin
2014-04-14  8:21 ` Juergen Beisert [this message]
2014-04-14  8:34   ` Jingoo Han
2014-04-22 13:42 ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201404141021.09250.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=axel.lin@ingics.com \
    --cc=gnurou@gmail.com \
    --cc=jg1.han@samsung.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=wsa@the-dreams.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).