Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754366AbbGIMpd (ORCPT ); Thu, 9 Jul 2015 08:45:33 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33797 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754334AbbGIMp0 (ORCPT ); Thu, 9 Jul 2015 08:45:26 -0400 From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: lgirdwood@gmail.com, broonie@kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, Vaibhav Hiremath 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 29 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; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/