Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099Ab3G0PNh (ORCPT ); Sat, 27 Jul 2013 11:13:37 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:43797 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055Ab3G0PNe (ORCPT ); Sat, 27 Jul 2013 11:13:34 -0400 Message-ID: <51F3E39A.2060203@cogentembedded.com> Date: Sat, 27 Jul 2013 19:13:30 +0400 From: Sergei Shtylyov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Prashant Shah CC: Aaro Koskinen , Andy Shevchenko , whiteheadm@acm.org, Ryan Mallon , netdev , "linux-kernel@vger.kernel.org" , mwhitehe@redhat.com, kernel-mentors@selenic.com Subject: Re: [PATCH] Change request_irq() to use struct net_device *dev->name References: <1374646199-9398-1-git-send-email-pshah.mumbai@gmail.com> <51F07489.7010404@gmail.com> <51F16F74.3070503@cogentembedded.com> <20130725183824.GA32658@blackmetal.musicnaut.iki.fi> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 615 Lines: 20 On 27-07-2013 12:58, Prashant Shah wrote: >>> It's also called managed device API. In fact, I've never heard it >>> named devres API. > If I understood it correctly it has to just calls > devm_request_region() with the struct device pointer and there are no > deallocation functions to call ? It manages deallocation on it own. Yes. > Regards. WBR, Sergei -- 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/