From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052AbbCaA7L (ORCPT ); Mon, 30 Mar 2015 20:59:11 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:34202 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753788AbbCaA7J (ORCPT ); Mon, 30 Mar 2015 20:59:09 -0400 Date: Mon, 30 Mar 2015 17:59:05 -0700 From: Brian Norris To: Dmitry Torokhov Cc: David Woodhouse , Wolfram Sang , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: maps: sa1100-flash: remove incorrect __exit markups Message-ID: <20150331005905.GK32500@ld-irv-0074> References: <20150309181041.GA25179@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150309181041.GA25179@dtor-ws> 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 On Mon, Mar 09, 2015 at 11:10:41AM -0700, Dmitry Torokhov wrote: > Even if bus is not hot-pluggable, the devices can be unbound from the > driver via sysfs, so we should not be using __exit annotations on > remove() methods. The only exception is drivers registered with > platform_driver_probe() which specifically disables sysfs bind/unbind > attributes. > > Signed-off-by: Dmitry Torokhov Pushed to l2-mtd.git. Brian From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YckWg-0002HV-7B for linux-mtd@lists.infradead.org; Tue, 31 Mar 2015 00:59:30 +0000 Received: by pactp5 with SMTP id tp5so2681774pac.1 for ; Mon, 30 Mar 2015 17:59:09 -0700 (PDT) Date: Mon, 30 Mar 2015 17:59:05 -0700 From: Brian Norris To: Dmitry Torokhov Subject: Re: [PATCH] mtd: maps: sa1100-flash: remove incorrect __exit markups Message-ID: <20150331005905.GK32500@ld-irv-0074> References: <20150309181041.GA25179@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150309181041.GA25179@dtor-ws> Cc: linux-mtd@lists.infradead.org, David Woodhouse , linux-kernel@vger.kernel.org, Wolfram Sang List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Mar 09, 2015 at 11:10:41AM -0700, Dmitry Torokhov wrote: > Even if bus is not hot-pluggable, the devices can be unbound from the > driver via sysfs, so we should not be using __exit annotations on > remove() methods. The only exception is drivers registered with > platform_driver_probe() which specifically disables sysfs bind/unbind > attributes. > > Signed-off-by: Dmitry Torokhov Pushed to l2-mtd.git. Brian