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