From patchwork Fri May 3 09:18:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16620 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AF75C23905 for ; Fri, 3 May 2013 09:31:23 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf2678630qec.10 for ; Fri, 03 May 2013 02:31:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=V1WNIlGfXp/AYi7+Vr0tNRttLwi2GLL1oF9FlCZHCHI=; b=Qi1ablkCd71rTVllIaGtMfUP1A985YUWOPCPFfseSmOgxvmEI8Z2KfJ1OfThdYHE4U 1hA+jjYIisiM7Z8ny+NoqKu1NScBrfRCJJcGUMIuFa6bJLi3rJJWmk5Qe6uZcyQ2vGRT 9JmoGEy3GSmnFjBtX07KpX7pkT1481X/zXkEJ+YcVqqvi1W62LU+r0OICnfLexkwY7q6 PSAy+fh7VZQjx0GiUQAAgoyvUH9IsCybrxY/eVPwXjgAaWLMibLb9nIazgrrsKH2W2Do aNMOSt+1kkSErpLZV4tXx6UC3iB5skSASYf83QVtzuO3uTzvo19tDSKOwUq2OPJkcolq J9WA== X-Received: by 10.236.123.199 with SMTP id v47mr6902503yhh.21.1367573474118; Fri, 03 May 2013 02:31:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.63.228 with SMTP id j4ls1551617qes.80.gmail; Fri, 03 May 2013 02:31:13 -0700 (PDT) X-Received: by 10.52.117.212 with SMTP id kg20mr2953783vdb.55.1367573473911; Fri, 03 May 2013 02:31:13 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id lt9si4729028vcb.77.2013.05.03.02.31.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id gf12so1268511vcb.1 for ; Fri, 03 May 2013 02:31:13 -0700 (PDT) X-Received: by 10.58.144.231 with SMTP id sp7mr3411322veb.34.1367573473787; Fri, 03 May 2013 02:31:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp13472veb; Fri, 3 May 2013 02:31:13 -0700 (PDT) X-Received: by 10.66.139.198 with SMTP id ra6mr4917673pab.140.1367573472837; Fri, 03 May 2013 02:31:12 -0700 (PDT) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [2607:f8b0:400e:c01::22b]) by mx.google.com with ESMTPS id pt2si6844709pbb.169.2013.05.03.02.31.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:12 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22b is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22b; Received: by mail-pb0-f43.google.com with SMTP id md12so822127pbc.16 for ; Fri, 03 May 2013 02:31:12 -0700 (PDT) X-Received: by 10.68.194.104 with SMTP id hv8mr10315282pbc.186.1367573472367; Fri, 03 May 2013 02:31:12 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id kr7sm12074063pab.23.2013.05.03.02.31.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:11 -0700 (PDT) From: Sachin Kamat To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, davem@davemloft.net, sachin.kamat@linaro.org, patches@linaro.org, Sebastian Andrzej Siewior Subject: [PATCH 1/2] crypto: mv_cesa: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 14:48:14 +0530 Message-Id: <1367572695-10713-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQknctXvNe98wRdkBYcu89kw6zAIa3Hg+NVBs1eMVnDTGW0d2Mxb9UYvZkqcUVlM1eNAXFGr X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Sebastian Andrzej Siewior --- drivers/crypto/mv_cesa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index ce6290e..3374a3e 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c @@ -1146,7 +1146,6 @@ err_unmap_reg: err: kfree(cp); cpg = NULL; - platform_set_drvdata(pdev, NULL); return ret; }