From patchwork Mon Mar 9 20:25:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 5970981 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D745FBF440 for ; Mon, 9 Mar 2015 20:25:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E42BE201EC for ; Mon, 9 Mar 2015 20:25:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14BAF201BC for ; Mon, 9 Mar 2015 20:25:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752475AbbCIUZy (ORCPT ); Mon, 9 Mar 2015 16:25:54 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:46546 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138AbbCIUZy (ORCPT ); Mon, 9 Mar 2015 16:25:54 -0400 Received: by iecrd18 with SMTP id rd18so15990274iec.13; Mon, 09 Mar 2015 13:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=L2e5BAAOJVFxzYkVTdZBrxjIUpP2EoWXKf1Hd8DvQfY=; b=PcqpqtKPP8+l2SUH3veL7hCKZOYeZ2FezonLmBNv5cx/NUApKr6Qfwd2skb+eW9Ej8 kdhih8Jgv3J/P1z2BU7+hMoszevyIgKCzHOrG7OWEeMC3Gd2U+5XnNyCuAeLW0CO3bm/ zDbtGNJVe1yFSSs9sF18C05o/X+9y7rz0JPsIgK/xG8LJ2UR0MbZfG944jDbzyL9fbzv 7bTgADXS2J+D/+0zgyfYYA7hHybyzwj3IrHrlGC8fRFsHuNBcGOQNKTz5NA5kgkEj0uC Z7uV+kX3AUnd7aXCFivMc4Qt7YpGvFkGDhTW4sxYEjXpCkz9fNnJq5D8QJQTEboVVhtP i2ZA== X-Received: by 10.107.32.73 with SMTP id g70mr12364289iog.55.1425932753613; Mon, 09 Mar 2015 13:25:53 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1301:85cb:b632:74e6:1b9c]) by mx.google.com with ESMTPSA id 13sm1392562iok.29.2015.03.09.13.25.51 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Mar 2015 13:25:52 -0700 (PDT) Date: Mon, 9 Mar 2015 13:25:49 -0700 From: Dmitry Torokhov To: Herbert Xu Cc: Tadeusz Struk , "Allan, Bruce W" , qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: qat - remove incorrect __exit markup Message-ID: <20150309202549.GA9684@dtor-ws> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP PCI bus is hot-pluggable, and even if it wasn't one can still unbind the device from driver via sysfs, so we should not make driver's remove method as __exit. Signed-off-by: Dmitry Torokhov --- drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c index 8ffdb95..e7af9d5 100644 --- a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c +++ b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c @@ -379,7 +379,7 @@ out_err: return ret; } -static void __exit adf_remove(struct pci_dev *pdev) +static void adf_remove(struct pci_dev *pdev) { struct adf_accel_dev *accel_dev = adf_devmgr_pci_to_accel_dev(pdev);