From patchwork Thu Apr 18 10:27:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16228 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 64C9223974 for ; Thu, 18 Apr 2013 10:28:22 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hf12sf4465616vcb.4 for ; Thu, 18 Apr 2013 03:27: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=mxoSJ7gM5jj4a8MrRghXp8rny2Ul4EFO7Nkod6G3eYk=; b=eFf2v7v06sD0BwZYVIfngmQlIdDAUuV6X7FkblZhjfd5Z2Ijkj3znZba/iQhZgFMUJ C+ciSxnYSrnhjH4hQUm46uRiDutGj6vrov/UgaoTWhTSapJnarxBEkwZxARrwdyrglm1 cr/VMf2E65junlw1oQETKPzRXnih6YlYnxPF5lIP/Y0LROE4ozkGOZbVQz1cfbrsXwRs FAwFHSHA3wYY3P848OqnOmGu+VmWP/XdMcZd/1WkJ7J7/5wXxfkl9Q2IkQKX+SmLDRX+ PHjwKzsJ5E9pcWmdIdw3AWFJU/VOkFqVXQJKVDuzM8ypa7qbL40/U1txDP0WruX9uyZn W+KQ== X-Received: by 10.58.233.12 with SMTP id ts12mr3979870vec.37.1366280865311; Thu, 18 Apr 2013 03:27:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.132.104 with SMTP id ot8ls1490396qeb.82.gmail; Thu, 18 Apr 2013 03:27:45 -0700 (PDT) X-Received: by 10.52.174.196 with SMTP id bu4mr6424882vdc.117.1366280865170; Thu, 18 Apr 2013 03:27:45 -0700 (PDT) Received: from mail-vb0-x230.google.com (mail-vb0-x230.google.com [2607:f8b0:400c:c02::230]) by mx.google.com with ESMTPS id ec8si6248275vdb.111.2013.04.18.03.27.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:27:45 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::230 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:c02::230; Received: by mail-vb0-f48.google.com with SMTP id p13so2148577vbe.21 for ; Thu, 18 Apr 2013 03:27:45 -0700 (PDT) X-Received: by 10.52.34.168 with SMTP id a8mr6563025vdj.75.1366280865046; Thu, 18 Apr 2013 03:27: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.58.127.98 with SMTP id nf2csp116338veb; Thu, 18 Apr 2013 03:27:44 -0700 (PDT) X-Received: by 10.180.97.132 with SMTP id ea4mr17043243wib.23.1366280863998; Thu, 18 Apr 2013 03:27:43 -0700 (PDT) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [2a00:1450:400c:c03::22e]) by mx.google.com with ESMTPS id o4si3450632wjo.79.2013.04.18.03.27.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:27:43 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22e is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22e; Received: by mail-we0-f174.google.com with SMTP id u12so2084458wey.19 for ; Thu, 18 Apr 2013 03:27:43 -0700 (PDT) X-Received: by 10.180.83.199 with SMTP id s7mr14841860wiy.19.1366280863617; Thu, 18 Apr 2013 03:27: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 ESMTPS id o5sm15168504wix.3.2013.04.18.03.27.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:27:42 -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, Lee Jones , Herbert Xu , "David S. Miller" , Andreas Westin , linux-crypto@vger.kernel.org Subject: [PATCH 8/9] crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog Date: Thu, 18 Apr 2013 11:27:04 +0100 Message-Id: <1366280825-31136-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366280825-31136-1-git-send-email-lee.jones@linaro.org> References: <1366280825-31136-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnV10K5IRiKK9CrQ9XgAtK9M6hljR00KDgt+wNz620ulAXWZ4b9G6KGTXh+ujICXgVGXzgF X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::230 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 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 6c4f872..7366910 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c @@ -1536,6 +1536,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 f9126f4..d3cbf5d 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -1767,7 +1767,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: