From patchwork Fri May 3 14:32:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16672 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F14AC23905 for ; Fri, 3 May 2013 14:35:03 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id q16sf2826345vbe.7 for ; Fri, 03 May 2013 07:34:54 -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=HCA0vYqavx5/DjZkjewXINbibdWW8BLZeDO6BEbe4GDXwukDFrgeKLysWWDzs58uFO 3RT85lgIn8pteBAeGUi6MUqXSKoKVx3it6/DVwkWC55jTwbJzxJtv8IM8MbWxS+hd6g0 833iODtuPFdJcYv0X5qrEB6itGQrUeAm+z087f6oGWXUqSQ5T86B1/sYKKQKUd4+4KMB 1V6MseTK4AxCjnAU4Ep/KeDebjq3gGBMy9Wt85zsWD0TTf9FLGiktIxV/fVhJNUI+m9N tZgDzl13PzV+KuT/BwaJeg/elkIat7zzRSo53W4gNVcHTTzJvRfYNdsLG+N+ZAkqSYXQ C3Dg== X-Received: by 10.236.32.67 with SMTP id n43mr8540735yha.0.1367591694006; Fri, 03 May 2013 07:34:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.138 with SMTP id c10ls1980757qeg.29.gmail; Fri, 03 May 2013 07:34:53 -0700 (PDT) X-Received: by 10.58.133.81 with SMTP id pa17mr3694821veb.37.1367591693710; Fri, 03 May 2013 07:34:53 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id ow6si5158841vcb.63.2013.05.03.07.34.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:53 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22e 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::22e; Received: by mail-ve0-f174.google.com with SMTP id pb11so1559330veb.33 for ; Fri, 03 May 2013 07:34:53 -0700 (PDT) X-Received: by 10.52.228.71 with SMTP id sg7mr3023822vdc.51.1367591693621; Fri, 03 May 2013 07:34:53 -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 nf2csp25247veb; Fri, 3 May 2013 07:34:53 -0700 (PDT) X-Received: by 10.194.81.71 with SMTP id y7mr14243312wjx.19.1367591692453; Fri, 03 May 2013 07:34:52 -0700 (PDT) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [2a00:1450:400c:c03::230]) by mx.google.com with ESMTPS id eu13si3599152wid.101.2013.05.03.07.34.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:52 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::230 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::230; Received: by mail-we0-f176.google.com with SMTP id r6so1331677wey.7 for ; Fri, 03 May 2013 07:34:52 -0700 (PDT) X-Received: by 10.181.12.5 with SMTP id em5mr13666325wid.24.1367591692027; Fri, 03 May 2013 07:34:52 -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 o3sm17516019wia.2.2013.05.03.07.34.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:34:51 -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 42/63] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog Date: Fri, 3 May 2013 15:32:28 +0100 Message-Id: <1367591569-32197-43-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> References: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlajzIyJazIaaiFpAlNlpJ8dqAU/KmS62PiygFTHjDhTBpgoxbF8cH+7fdo3DDExBMohI1P X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22e 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: