Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754848AbbGJMMd (ORCPT ); Fri, 10 Jul 2015 08:12:33 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33221 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754161AbbGJMM0 (ORCPT ); Fri, 10 Jul 2015 08:12:26 -0400 Message-ID: <559FB6A1.7060903@linaro.org> Date: Fri, 10 Jul 2015 17:42:17 +0530 From: Vaibhav Hiremath User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Valdis.Kletnieks@vt.edu CC: linux-arm-kernel@lists.infradead.org, lgirdwood@gmail.com, broonie@kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] regulator: 88pm800: Add dev_info to show probe success status References: <1436445692-10656-1-git-send-email-vaibhav.hiremath@linaro.org> <1436445692-10656-4-git-send-email-vaibhav.hiremath@linaro.org> <13146.1436470614@turing-police.cc.vt.edu> In-Reply-To: <13146.1436470614@turing-police.cc.vt.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 27 On Friday 10 July 2015 01:06 AM, Valdis.Kletnieks@vt.edu wrote: > On Thu, 09 Jul 2015 18:11:32 +0530, Vaibhav Hiremath said: >> 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. > > I can see that as a development thing... > >> + dev_info(&pdev->dev, "Regulator registered ...\n"); > > In which case this should be 'dev_debug()' or similar so it doesn't > clutter up and slow down a production boot. > Yeup, Probably dev_debug would have been better here. Thanks, Vaibhav -- 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/