From patchwork Thu Jul 9 12:41:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6755901 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 671F19F380 for ; Thu, 9 Jul 2015 12:47:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0B9D20742 for ; Thu, 9 Jul 2015 12:47:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4610120769 for ; Thu, 9 Jul 2015 12:47:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDBDE-0007F2-Qv; Thu, 09 Jul 2015 12:46:00 +0000 Received: from mail-pd0-f170.google.com ([209.85.192.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDBD0-0006y6-EC for linux-arm-kernel@lists.infradead.org; Thu, 09 Jul 2015 12:45:46 +0000 Received: by pdbqm3 with SMTP id qm3so21222150pdb.0 for ; Thu, 09 Jul 2015 05:45:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=p8RIRkBp5fPf/Jg6HJBdKaFVLjEsrwQXg8a02kFl6KY=; b=RzqGyVxl4vaSq/XZqWAIhwm0VWq2MQCaJceVmsyOxZCk53X6RYxLxeoohWPQpxbNSb jZRC9HZMd9q6gcyq9gL2ZYHVCmFYo7IHHd8fMN31C84yk9NaIw7iiCHhYqB5WvPHEseC r1e/whGOjHKyA8T4DO5jXlgEkG3VNlygx2tvECbh2Cce4y1uWqPdq2agLKp226PzDDEc uei92CcL9uRkxOM7ZmGcXts5aDXeAG6RsnY2U/k6lUHmRYQBY+4TKJFjSPJtXAv3MjiP iT7eAjdcvclqY+jAN6idDk+EzvhobtwmV62jeOy4MAuanKwg2FBl74qAbSq3dxpOdyI+ XxWw== X-Gm-Message-State: ALoCoQnydvNo0xo1DJsU1MwJtFquFdhDyU9V7Cp1yx5K7or2vBmaI5jQLCuWIRDnDyRiRiIUxT4C X-Received: by 10.68.181.163 with SMTP id dx3mr30675431pbc.5.1436445925877; Thu, 09 Jul 2015 05:45:25 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id nm9sm5926108pdb.26.2015.07.09.05.45.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 05:45:25 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] regulator: 88pm800: Add dev_info to show probe success status Date: Thu, 9 Jul 2015 18:11:32 +0530 Message-Id: <1436445692-10656-4-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436445692-10656-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436445692-10656-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_054546_505367_DF47D602 X-CRM114-Status: GOOD ( 12.47 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sameo@linux.intel.com, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, Vaibhav Hiremath , broonie@kernel.org, lee.jones@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds dev_info line at the end of probe function, to clearly put status of regulator probe on console. Useful during development, specially to check bootlog. Signed-off-by: Vaibhav Hiremath --- drivers/regulator/88pm800.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index fdebd23..ee4b370 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c @@ -453,6 +453,7 @@ static int pm800_regulator_probe(struct platform_device *pdev) } } + dev_info(&pdev->dev, "Regulator registered ...\n"); return 0; }