From: Jason Gunthorpe Subject: Re: [PATCH -next] tpm_tis: fix the error handling of init_tis() Date: Tue, 7 Feb 2017 10:05:43 -0700 Message-ID: <20170207170543.GA1077@obsidianresearch.com> References: <20170207155147.2581-1-weiyj.lk@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170207155147.2581-1-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@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 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 > drivers/char/tpm/tpm_tis.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Yep. Thanks Reviewed-by: Jason Gunthorpe Jason ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot