From: Jarkko Sakkinen Subject: Re: [PATCH -next] tpm_tis: fix the error handling of init_tis() Date: Wed, 8 Feb 2017 13:38:58 +0200 Message-ID: <20170208113858.nlevaexee73xvkuy@intel.com> References: <20170207155147.2581-1-weiyj.lk@gmail.com> <20170208113637.4tqtlumwqew3cyuz@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170208113637.4tqtlumwqew3cyuz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Wei Yongjun Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Wei Yongjun List-Id: tpmdd-devel@lists.sourceforge.net On Wed, Feb 08, 2017 at 01:36:37PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 07, 2017 at 03:51:47PM +0000, Wei Yongjun wrote: > > From: Wei Yongjun > > > > Add the missing platform_driver_unregister() and remove the duplicate > > platform_device_unregister(force_pdev) in the error handling case. > > > > Fixes: 00194826e6be ("tpm_tis: Clean up the force=1 module parameter") > > Signed-off-by: Wei Yongjun > > Reviewed-by: Jarkko Sakkinen I applied this and added cc to stable. /Jarkko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot