Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1180729
| From | Vaibhav Hiremath <vaibhav.hiremath@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] regulator: 88pm800: Add dev_info to show probe success status |
| Date | 2015-07-09 14:50 +0200 |
| Message-ID | <pKjr6-dD-75@gated-at.bofh.it> (permalink) |
| References | <pKjr4-dD-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <vaibhav.hiremath@linaro.org> --- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/3] regulator: 88pm800: Add 88pm860 regulator support Vaibhav Hiremath <vaibhav.hiremath@linaro.org> - 2015-07-09 14:50 +0200 [PATCH 3/3] regulator: 88pm800: Add dev_info to show probe success status Vaibhav Hiremath <vaibhav.hiremath@linaro.org> - 2015-07-09 14:50 +0200
csiph-web