Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934659AbcCJBcM (ORCPT ); Wed, 9 Mar 2016 20:32:12 -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 X-AuditID: cbfec7f4-f79026d00000418a-4b-56e0ce96776a 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1836 Lines: 88 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; -- 2.5.0