From patchwork Thu May 2 10:49:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16585 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ia0-f197.google.com (mail-ia0-f197.google.com [209.85.210.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7DE81238EC for ; Thu, 2 May 2013 10:50:24 +0000 (UTC) Received: by mail-ia0-f197.google.com with SMTP id i20sf1780342ian.4 for ; Thu, 02 May 2013 03:50: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=z54PdglaEntUMJPdx8oYGXllqnWkjY0ilvEONhDIC2U=; b=Qo/aA/gqvUHP8stunmrOdvxV5OaaP0nCK1rsXGUvyVFQRo2YY16ALsqNPdEaUkG0OC dJ0AcCOm1Y+3vihL1fOFHB+3O0FEMJEUc24m/fmBAlDFT9vyUUuRTM2EnhOR+sCbr+X8 NkOzXLAaOr+djvmvw6m3SQegP9kgPPQHJtDljlj3xTcjiZfXDZitjZxl7uP49cUo/aF1 SlfM0EUGxwwCaIG+JEgauoRGLB8zfB/R5tE/VeFRJKNesurRyy0rdFqQN0SA9yJJkc1U ee1CAZ077P1SerXRLqYI6ER3oFemMOpzAOO7D78vdpwI30pZ+17mTreuoAWYZgOWFAOZ tpTQ== X-Received: by 10.182.29.74 with SMTP id i10mr5028574obh.45.1367491817130; Thu, 02 May 2013 03:50:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.163 with SMTP id b3ls78738qey.20.gmail; Thu, 02 May 2013 03:50:16 -0700 (PDT) X-Received: by 10.220.168.202 with SMTP id v10mr1925429vcy.71.1367491816916; Thu, 02 May 2013 03:50:16 -0700 (PDT) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [2607:f8b0:400c:c01::22b]) by mx.google.com with ESMTPS id ij9si2665345vdb.56.2013.05.02.03.50.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:50:16 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22b; Received: by mail-ve0-f171.google.com with SMTP id oy12so347635veb.2 for ; Thu, 02 May 2013 03:50:16 -0700 (PDT) X-Received: by 10.220.89.198 with SMTP id f6mr1989756vcm.45.1367491816793; Thu, 02 May 2013 03:50:16 -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 nf2csp195696veb; Thu, 2 May 2013 03:50:16 -0700 (PDT) X-Received: by 10.180.13.166 with SMTP id i6mr34117665wic.21.1367491815532; Thu, 02 May 2013 03:50:15 -0700 (PDT) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [2a00:1450:400c:c03::22d]) by mx.google.com with ESMTPS id cl2si1808196wjb.77.2013.05.02.03.50.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:50:15 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22d is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22d; Received: by mail-we0-f173.google.com with SMTP id r3so344953wey.4 for ; Thu, 02 May 2013 03:50:15 -0700 (PDT) X-Received: by 10.194.58.243 with SMTP id u19mr7056391wjq.47.1367491815111; Thu, 02 May 2013 03:50:15 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id x13sm9665546wib.3.2013.05.02.03.50.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 03:50:14 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones , Herbert Xu , "David S. Miller" , Andreas Westin , linux-crypto@vger.kernel.org Subject: [PATCH 7/8] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog Date: Thu, 2 May 2013 11:49:49 +0100 Message-Id: <1367491790-9727-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367491790-9727-1-git-send-email-lee.jones@linaro.org> References: <1367491790-9727-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQm80ObLhQ3anEHw9PPyUdTN1zvauxEoa2JCFuozsBRm7HCM3UTqOUgDSY3nPyN1WtOI351N X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22b 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: , The Cryp driver is currently silent and the Hash driver prints the name of its probe function unnecessarily. Let's just put a nice descriptive one-liner there instead. Cc: Herbert Xu Cc: David S. Miller Cc: Andreas Westin Cc: linux-crypto@vger.kernel.org Acked-by: Arnd Bergmann Reviewed-by: Linus Walleij Signed-off-by: Lee Jones --- drivers/crypto/ux500/cryp/cryp_core.c | 2 ++ drivers/crypto/ux500/hash/hash_core.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 4b90493..78d7463 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c @@ -1542,6 +1542,8 @@ static int ux500_cryp_probe(struct platform_device *pdev) goto out_power; } + dev_info(dev, "successfully registered\n"); + return 0; out_power: diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 5d8a7f3..ac606b6 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -1773,7 +1773,7 @@ static int ux500_hash_probe(struct platform_device *pdev) goto out_power; } - dev_info(dev, "[%s] successfully probed\n", __func__); + dev_info(dev, "successfully registered\n"); return 0; out_power: