Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757148Ab3EWHfW (ORCPT ); Thu, 23 May 2013 03:35:22 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:47725 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910Ab3EWHfV (ORCPT ); Thu, 23 May 2013 03:35:21 -0400 Date: Thu, 23 May 2013 08:35:16 +0100 From: Lee Jones To: Leon Romanovsky Cc: sameo@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: mfd: tps65912: Convert to use devm_kzalloc Message-ID: <20130523073516.GA22683@gmail.com> References: <1368609586-20905-1-git-send-email-leon@leon.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1368609586-20905-1-git-send-email-leon@leon.nu> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 22 On Wed, 15 May 2013, Leon Romanovsky wrote: > There is no need to call kfree while using devm_kzalloc, > remove it from *_device_init function. > > Signed-off-by: Leon Romanovsky > --- > drivers/mfd/tps65912-core.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Applied thanks. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/