From patchwork Wed May 15 09:51:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16935 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6743E2396C for ; Wed, 15 May 2013 09:53:22 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id i72sf2270610yha.4 for ; Wed, 15 May 2013 02:52:45 -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=YtfZ0kk7oTZ+RDciFT6r431dD6M+kCdayoblMT8Q754=; b=N8jQ8Qb49tZ+2ZwxkDzvewzNYnyD1Gny/22THBFPx2KsYeo4jpkWtUqKz+eqAN627U AmIfIJa+fin4OTOGYJXhgb2OH61X0gUiE0hKHBA7+sFEz3gjW1vrh+O6BeoPR7HrzOnu z/rSsInXQayOiA7yWCkvnJvgpTIf06N/XAKFNv80NsaFdmcV+o/5UwGKYyaGtFCO4pHu soSa97cQzOWyDhEyqSfJfzDLm82NQcstHPAM8a76GMzlmz0rK/MAscpwLXBT1tOexajx WxW4lmqTX88btO7lX+M/VCUo2xSIbTV4kzzXY12ObsGPQwngTrHtQY0cQPWPnKNJC+BQ WmDw== X-Received: by 10.236.134.132 with SMTP id s4mr19748011yhi.56.1368611565872; Wed, 15 May 2013 02:52:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.5 with SMTP id lg5ls632137qeb.21.gmail; Wed, 15 May 2013 02:52:45 -0700 (PDT) X-Received: by 10.52.190.130 with SMTP id gq2mr20648822vdc.37.1368611565721; Wed, 15 May 2013 02:52:45 -0700 (PDT) Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [2607:f8b0:400c:c01::235]) by mx.google.com with ESMTPS id d4si1024890vcl.66.2013.05.15.02.52.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:45 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::235 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::235; Received: by mail-ve0-f181.google.com with SMTP id pb11so1677611veb.26 for ; Wed, 15 May 2013 02:52:45 -0700 (PDT) X-Received: by 10.52.36.115 with SMTP id p19mr3326790vdj.8.1368611565550; Wed, 15 May 2013 02:52:45 -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.220.217.15 with SMTP id hk15csp11351vcb; Wed, 15 May 2013 02:52:44 -0700 (PDT) X-Received: by 10.194.61.8 with SMTP id l8mr2792358wjr.38.1368611564300; Wed, 15 May 2013 02:52:44 -0700 (PDT) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [2a00:1450:400c:c03::231]) by mx.google.com with ESMTPS id o10si5368586wij.81.2013.05.15.02.52.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:44 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::231 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::231; Received: by mail-we0-f177.google.com with SMTP id q58so1363030wes.8 for ; Wed, 15 May 2013 02:52:43 -0700 (PDT) X-Received: by 10.194.142.233 with SMTP id rz9mr2793320wjb.7.1368611563890; Wed, 15 May 2013 02:52:43 -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 q13sm2898210wie.8.2013.05.15.02.52.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 02:52:43 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, balbi@ti.com, linux-usb@vger.kernel.org, linux-crypto@vger.kernel.org, davem@davemloft.net, herbert@gondor.apana.org.au, vinod.koul@intel.com Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones , Andreas Westin Subject: [PATCH 18/39] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog Date: Wed, 15 May 2013 10:51:41 +0100 Message-Id: <1368611522-9984-19-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368611522-9984-1-git-send-email-lee.jones@linaro.org> References: <1368611522-9984-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnqi4kn9qZmDGPAgcIl7PM5V5TKQOJ27kpCLPyKZIlwB9WP6VCzuZrh930al7V6jogf3hSu X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::235 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 d9c863d..4f8b11a 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c @@ -1541,6 +1541,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 6269576..9ca6fbb 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -1772,7 +1772,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: