diff mbox

[1/2] drivers/rtc/rtc-puv3.c: use dev_dbg() instead of dev_debug() for typo issue

Message ID 536479AD.9040104@gmail.com
State Accepted
Headers show

Commit Message

Chen Gang May 3, 2014, 5:07 a.m. UTC
It is only a typo issue, the related commit:

  "1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"

The related error (unicore32 with allmodconfig):

    CC [M]  drivers/rtc/rtc-puv3.o
  drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setpie':
  drivers/rtc/rtc-puv3.c:74: error: implicit declaration of function 'dev_debug'


Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 drivers/rtc/rtc-puv3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guan Xuetao May 12, 2014, 7:53 a.m. UTC | #1
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>

----- Chen Gang <gang.chen.5i5j@gmail.com> 写道:
> It is only a typo issue, the related commit:
> 
>   "1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"
> 
> The related error (unicore32 with allmodconfig):
> 
>     CC [M]  drivers/rtc/rtc-puv3.o
>   drivers/rtc/rtc-puv3.c: In function ‘puv3_rtc_setpie’:
>   drivers/rtc/rtc-puv3.c:74: error: implicit declaration of function ‘dev_debug’
> 
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
>  drivers/rtc/rtc-puv3.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
> index 1ecfe3b..c56310e 100644
> --- a/drivers/rtc/rtc-puv3.c
> +++ b/drivers/rtc/rtc-puv3.c
> @@ -71,7 +71,7 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
>  {
>  	unsigned int tmp;
>  
> -	dev_debug(dev, "%s: pie=%d\n", __func__, enabled);
> +	dev_dbg(dev, "%s: pie=%d\n", __func__, enabled);
>  
>  	spin_lock_irq(&puv3_rtc_pie_lock);
>  	tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE;
> -- 
> 1.9.2.459.g68773ac
diff mbox

Patch

diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c
index 1ecfe3b..c56310e 100644
--- a/drivers/rtc/rtc-puv3.c
+++ b/drivers/rtc/rtc-puv3.c
@@ -71,7 +71,7 @@  static int puv3_rtc_setpie(struct device *dev, int enabled)
 {
 	unsigned int tmp;
 
-	dev_debug(dev, "%s: pie=%d\n", __func__, enabled);
+	dev_dbg(dev, "%s: pie=%d\n", __func__, enabled);
 
 	spin_lock_irq(&puv3_rtc_pie_lock);
 	tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE;