From patchwork Fri May 3 09:18:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16621 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BCBD823905 for ; Fri, 3 May 2013 09:31:26 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b41sf2630153yha.5 for ; Fri, 03 May 2013 02:31:17 -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 :in-reply-to:references: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=CcDVa8g7hdloLOGoNtVuSioGhCcx7mIG/WXc0dfPa7I=; b=U3vGGg4wSrIbsl7JCL1l3DGwaVWpql68Fr/Z0cyt9jujQa+xpaiGSB+u8OvWIZIHdU QEhMrUlgX4thw16jK2qLQobN5kGp3XpcPLXj1jvuacrlkXRIutXdA1QTzrcEXUBdR6YG TZaG/7YVImWJUkW/mGbP9uqM6/EmEMDBrFCCRJ9mzKWtdZBCyCIuORCpV5peSoNPI8MP L39WTz3slW/RRpVI7p64kMBOKGHeH5H4iL+85CEBiP+nuUkcti2DGoCo+s1nHyv4+4l/ SedfPSg3858hrbyPvxhEaJH+E0hsqit3TLHQR84IeOLLzjL98/N65wZ9/ySfrw1XZPkK qBXg== X-Received: by 10.236.181.234 with SMTP id l70mr7644357yhm.53.1367573477457; Fri, 03 May 2013 02:31:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.78 with SMTP id 14ls1750572qec.10.gmail; Fri, 03 May 2013 02:31:17 -0700 (PDT) X-Received: by 10.58.230.130 with SMTP id sy2mr3390790vec.22.1367573477193; Fri, 03 May 2013 02:31:17 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id q5si4754855vcw.15.2013.05.03.02.31.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 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.175; Received: by mail-vc0-f175.google.com with SMTP id lf10so1248390vcb.20 for ; Fri, 03 May 2013 02:31:17 -0700 (PDT) X-Received: by 10.52.66.101 with SMTP id e5mr2893312vdt.57.1367573477086; Fri, 03 May 2013 02:31:17 -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 nf2csp13473veb; Fri, 3 May 2013 02:31:16 -0700 (PDT) X-Received: by 10.68.225.197 with SMTP id rm5mr13111689pbc.137.1367573476066; Fri, 03 May 2013 02:31:16 -0700 (PDT) Received: from mail-da0-x233.google.com (mail-da0-x233.google.com [2607:f8b0:400e:c00::233]) by mx.google.com with ESMTPS id jq8si6868922pbc.73.2013.05.03.02.31.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:16 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::233 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::233; Received: by mail-da0-f51.google.com with SMTP id h15so681619dan.24 for ; Fri, 03 May 2013 02:31:15 -0700 (PDT) X-Received: by 10.68.232.234 with SMTP id tr10mr13112942pbc.11.1367573475598; Fri, 03 May 2013 02:31:15 -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.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 02:31:15 -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, Vladimir Zapolskiy Subject: [PATCH 2/2] crypto: s5p-sss: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 14:48:15 +0530 Message-Id: <1367572695-10713-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367572695-10713-1-git-send-email-sachin.kamat@linaro.org> References: <1367572695-10713-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmnlzrqPfGNyO8m9N41ahXbSbpc/LHe3xwEjXD8CYPWQo58ZpU4dNdGXgo5YdJh4ZiSiDod X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 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: Vladimir Zapolskiy --- drivers/crypto/s5p-sss.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c index 4b31432..cf149b1 100644 --- a/drivers/crypto/s5p-sss.c +++ b/drivers/crypto/s5p-sss.c @@ -647,7 +647,6 @@ static int s5p_aes_probe(struct platform_device *pdev) clk_disable(pdata->clk); s5p_dev = NULL; - platform_set_drvdata(pdev, NULL); return err; } @@ -668,7 +667,6 @@ static int s5p_aes_remove(struct platform_device *pdev) clk_disable(pdata->clk); s5p_dev = NULL; - platform_set_drvdata(pdev, NULL); return 0; }