From patchwork Thu Mar 10 01:31:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8552251 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D61EA9F372 for ; Thu, 10 Mar 2016 01:32:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6CD4202DD for ; Thu, 10 Mar 2016 01:32:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C1F4C202B8 for ; Thu, 10 Mar 2016 01:32:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932503AbcCJBcL (ORCPT ); Wed, 9 Mar 2016 20:32:11 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:47962 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753586AbcCJBcK (ORCPT ); Wed, 9 Mar 2016 20:32:10 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O3S004JCUXIEK40@mailout4.w1.samsung.com>; Thu, 10 Mar 2016 01:32:06 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-4b-56e0ce96776a Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 70.86.16778.69EC0E65; Thu, 10 Mar 2016 01:32:06 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O3S00ECFUXB2U40@eusync2.samsung.com>; Thu, 10 Mar 2016 01:32:06 +0000 (GMT) From: Krzysztof Kozlowski To: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vladimir Zapolskiy , linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v2 1/3] crypto: s5p-sss - Minor coding cleanups Date: Thu, 10 Mar 2016 10:31:45 +0900 Message-id: <1457573507-1687-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJJMWRmVeSWpSXmKPExsVy+t/xK7rTzj0IM1h1UNRizvkWFovuVzIW 589vYLe4f+8nk8XlXXPYLGac38dk8f9XM7MDu8eWlTeZPLYdUPXYtKqTzePfwiksHp83yQWw RnHZpKTmZJalFunbJXBlbNkUU9DGXzF79VPmBsZWni5GTg4JAROJ+1M7WCFsMYkL99azdTFy cQgJLGWUmPl8KwuE859R4tSuX2wgVWwCxhKbly8BqxIRmMoo8fn6CWaQBLNAocT3psNMILaw gL1E96T9YHEWAVWJVV/vsIDYvAJuEk2L+oFsDqB1chILLqRPYORewMiwilE0tTS5oDgpPddQ rzgxt7g0L10vOT93EyMkQL7sYFx8zOoQowAHoxIPb0bdgzAh1sSy4srcQ4wSHMxKIrx+Z4BC vCmJlVWpRfnxRaU5qcWHGKU5WJTEeefueh8iJJCeWJKanZpakFoEk2Xi4JRqYLQ7vejln6IJ MUH9N5l75A7Mmqemk6dscdXrVyKz5DEul7UxwgHR+dN6Fxye0xqxs03vx6PJc8LeuFirz5nh 9eVGAvOjTb8zPv5J2qBb33Km5YyuuaWjkMUEj2fTzpkvy7refClhwas1zjHn++v6bwQw7ew2 TgybIPtgv1rHO++Dgkkms+1kLyixFGckGmoxFxUnAgA61EnZDAIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 From: Krzysztof Kozlowski Remove unneeded inclusion of delay.h and get rid of indentation from labels. Signed-off-by: Krzysztof Kozlowski Acked-by: Vladimir Zapolskiy --- Changes since v1: 1. Add Vladimir's acked-by. --- drivers/crypto/s5p-sss.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c index 5f161a9777e3..60f835455a41 100644 --- a/drivers/crypto/s5p-sss.c +++ b/drivers/crypto/s5p-sss.c @@ -11,7 +11,6 @@ * */ -#include #include #include #include @@ -284,7 +283,7 @@ static int s5p_set_outdata(struct s5p_aes_dev *dev, struct scatterlist *sg) dev->sg_dst = sg; err = 0; - exit: +exit: return err; } @@ -310,7 +309,7 @@ static int s5p_set_indata(struct s5p_aes_dev *dev, struct scatterlist *sg) dev->sg_src = sg; err = 0; - exit: +exit: return err; } @@ -452,10 +451,10 @@ static void s5p_aes_crypt_start(struct s5p_aes_dev *dev, unsigned long mode) return; - outdata_error: +outdata_error: s5p_unset_indata(dev); - indata_error: +indata_error: s5p_aes_complete(dev, err); spin_unlock_irqrestore(&dev->lock, flags); } @@ -506,7 +505,7 @@ static int s5p_aes_handle_req(struct s5p_aes_dev *dev, tasklet_schedule(&dev->tasklet); - exit: +exit: return err; } @@ -705,7 +704,7 @@ static int s5p_aes_probe(struct platform_device *pdev) return 0; - err_algs: +err_algs: dev_err(dev, "can't register '%s': %d\n", algs[i].cra_name, err); for (j = 0; j < i; j++) @@ -713,7 +712,7 @@ static int s5p_aes_probe(struct platform_device *pdev) tasklet_kill(&pdata->tasklet); - err_irq: +err_irq: clk_disable_unprepare(pdata->clk); s5p_dev = NULL;