Re: [PATCH v6 2/9] rtc: at91sam9: use standard readl/writel functions instead of raw versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Can be good to know why... here.

Otherwise, you can add my:
Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>


On 22/09/2014 17:42, Boris BREZILLON :
> Signed-off-by: Boris BREZILLON <boris.brezillon@xxxxxxxxxxxxxxxxxx>
> Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> ---
>  drivers/rtc/rtc-at91sam9.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
> index 51f0038..74a9ca0 100644
> --- a/drivers/rtc/rtc-at91sam9.c
> +++ b/drivers/rtc/rtc-at91sam9.c
> @@ -77,14 +77,14 @@ struct sam9_rtc {
>  };
>  
>  #define rtt_readl(rtc, field) \
> -	__raw_readl((rtc)->rtt + AT91_RTT_ ## field)
> +	readl((rtc)->rtt + AT91_RTT_ ## field)
>  #define rtt_writel(rtc, field, val) \
> -	__raw_writel((val), (rtc)->rtt + AT91_RTT_ ## field)
> +	writel((val), (rtc)->rtt + AT91_RTT_ ## field)
>  
>  #define gpbr_readl(rtc) \
> -	__raw_readl((rtc)->gpbr)
> +	readl((rtc)->gpbr)
>  #define gpbr_writel(rtc, val) \
> -	__raw_writel((val), (rtc)->gpbr)
> +	writel((val), (rtc)->gpbr)
>  
>  /*
>   * Read current time and date in RTC
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux