From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35629 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754082AbdCBIzG (ORCPT ); Thu, 2 Mar 2017 03:55:06 -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> Sender: linux-media-owner@vger.kernel.org List-ID: --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--