Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755005Ab3IYKGy (ORCPT ); Wed, 25 Sep 2013 06:06:54 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:59700 "EHLO mail-ee0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371Ab3IYKGx (ORCPT ); Wed, 25 Sep 2013 06:06:53 -0400 Date: Wed, 25 Sep 2013 11:06:49 +0100 From: Lee Jones To: Wei Yongjun Cc: sameo@linux.intel.com, yongjun_wei@trendmicro.com.cn, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: ezx-pcap: drop devm_free_irq of devm_ allocated irq Message-ID: <20130925100649.GC5132@lee--X1> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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: 845 Lines: 25 On Wed, 25 Sep 2013, Wei Yongjun wrote: > From: Wei Yongjun > > The devm_request_irq function allocates irq that is released > when a driver detaches. Thus, there is no reason to explicitly > call devm_free_irq in probe or remove functions. > > Signed-off-by: Wei Yongjun > --- > drivers/mfd/ezx-pcap.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics 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/