Re: [PATCH] gpio: max730x: Remove kfree(ts) in __max730x_remove()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, April 14, 2014 5:21 PM, Juergen Beisert wrote:
> 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@xxxxxxxxxx>
> > 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@xxxxxxxxxx>
> 
> Good catch.
> 
> Acked-by: Juergen Beisert <jbe@xxxxxxxxxxxxxx>

Reviewed-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Best regards,
Jingoo Han

> 
> --
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux