From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751227AbdCBJxM (ORCPT ); Thu, 2 Mar 2017 04:53:12 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37328 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbdCBJww (ORCPT ); Thu, 2 Mar 2017 04:52:52 -0500 Date: Thu, 2 Mar 2017 08:58:26 +0100 From: Pavel Machek To: Dmitry Torokhov Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [media] ad5820: remove incorrect __exit markups Message-ID: <20170302075825.GA4200@amd> References: <20170301234123.GA12089@dtor-ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20170301234123.GA12089@dtor-ws> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2017-03-01 15:41:23, Dmitry Torokhov wrote: > Even if bus is not hot-pluggable, 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. >=20 > Signed-off-by: Dmitry Torokhov Acked-by: Pavel Machek --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAli30KEACgkQMOfwapXb+vIm7wCdHBznpuGtBTdHWqaEhGywdOs6 R2QAnR9w5KoR8A3OO9j/dIivhP4iWAL6 =TlEC -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--