Re: [PATCH 2/2] mmc: dw_mmc: Use pr_info instead of printk

Jaehoon Chung
2013-03-28T04:47:54Z

Hi Sachin,

On 03/28/2013 01:25 PM, Sachin Kamat wrote:
> pr_info(... is preferred to printk(KERN_INFO ...
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> drivers/mmc/host/dw_mmc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 1ba09d0..b8582d0 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -2509,7 +2509,7 @@ EXPORT_SYMBOL(dw_mci_resume);
>
> static int __init dw_mci_init(void)
> {
> - printk(KERN_INFO "Synopsys Designware Multimedia Card Interface Driver");
> + pr_info("Synopsys Designware Multimedia Card Interface Driver");
Using "...Card Interface Driver\n"?
Then this patch looks good to me.

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung
> return 0;
> }
>
>