From patchwork Tue Mar 22 01:58:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8637631 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 B44A0C0553 for ; Tue, 22 Mar 2016 01:59:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DBC5B201FE for ; Tue, 22 Mar 2016 01:59:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EAB4820166 for ; Tue, 22 Mar 2016 01:59:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755946AbcCVB7G (ORCPT ); Mon, 21 Mar 2016 21:59:06 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:38530 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754482AbcCVB7F (ORCPT ); Mon, 21 Mar 2016 21:59:05 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O4F004FZ46CCCA0@mailout4.w1.samsung.com>; Tue, 22 Mar 2016 01:59:00 +0000 (GMT) X-AuditID: cbfec7f5-f792a6d000001302-64-56f0a6e3cab6 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 16.20.04866.3E6A0F65; Tue, 22 Mar 2016 01:58:59 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O4F00FGE4633A80@eusync4.samsung.com>; Tue, 22 Mar 2016 01:58:59 +0000 (GMT) From: Krzysztof Kozlowski To: Herbert Xu , "David S. Miller" , Vladimir Zapolskiy , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v3 1/3] crypto: s5p-sss - Minor coding cleanups Date: Tue, 22 Mar 2016 10:58:23 +0900 Message-id: <1458611905-30157-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsVy+t/xa7qPl30IM3h/xMJizvkWFovuVzIW 589vYLe4f+8nk8XlXXPYLP7/amZ2YPPYsvImk8e2A6oem1Z1snn8WziFxePzJrkA1igum5TU nMyy1CJ9uwSujAP9y9gLlvJXTGq/ztLAOJuni5GTQ0LAROLWq+fMELaYxIV769m6GLk4hASW Mkq8eD8dyvnPKHH/z0E2kCo2AWOJzcuXgCVEBHYwSiy8+gesnVlAU6J7xVR2EFtYwF5i4rFW MJtFQFXiyvl/YDavgLvE7UUg6ziA1slJLLiQPoGRewEjwypG0dTS5ILipPRcI73ixNzi0rx0 veT83E2MkMD4uoNx6TGrQ4wCHIxKPLwMq96HCbEmlhVX5h5ilOBgVhLh5e39ECbEm5JYWZVa lB9fVJqTWnyIUZqDRUmcd+au9yFCAumJJanZqakFqUUwWSYOTqkGxnDLC6+7HhrOeG5wmiva qZxflzt9m83VazH/EubX7kv3t8go2TZngq/Wwh4fZnu1ay3bMzn8WHfOsku29Dj46DSHlQ5/ 7nmv6xaBF36c0dVd+Cju+aQyHy4xbVdryycvBffYv/KbEv6TyVFJcn71KgcWI+eJT4vuLX6T 1WO/dTqf8Ld9v9etVGIpzkg01GIuKk4EAI+pa2sIAgAA 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.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 v2: 1. None. 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;