From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com ([192.55.52.43]:56417 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030644AbcJQTTN (ORCPT ); Mon, 17 Oct 2016 15:19:13 -0400 Date: Mon, 17 Oct 2016 15:30:23 -0400 From: Keith Busch To: Wei Yongjun Cc: Bjorn Helgaas , Krzysztof Kozlowski , Jon Derrick , Vineet Gupta , Robin Murphy , Wei Yongjun , linux-pci@vger.kernel.org Subject: Re: [PATCH -next] x86/PCI: VMD: Remove unnecessary pci_set_drvdata() Message-ID: <20161017193023.GA23617@localhost.localdomain> References: <1476716684-6778-1-git-send-email-weiyj.lk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1476716684-6778-1-git-send-email-weiyj.lk@gmail.com> Sender: linux-pci-owner@vger.kernel.org List-ID: On Mon, Oct 17, 2016 at 03:04:44PM +0000, Wei Yongjun wrote: > From: Wei Yongjun > > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. > > Signed-off-by: Wei Yongjun Looks good. Reviewed-by: Keith Busch