From: Boris BREZILLON Date: Tue, 23 Sep 2014 11:13:52 +0000 (+0200) Subject: rtc: at91sam9: use standard readl/writel functions instead of raw versions X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~13^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272f1dfa617ac2eb02a34f534d8d24a6b97eeb08;p=pandora-kernel.git rtc: at91sam9: use standard readl/writel functions instead of raw versions Raw versions of writel and writel should not be directly used and should be replaced by their relaxed versions (readl/writel_relaxed), which take endianness conversion into account. In this driver we prefer the standard readl/writel function which add the appropriate memory barrier around the access (the performance penalty is negligible for this kind of application). Signed-off-by: Boris BREZILLON Acked-by: Alexandre Belloni Acked-by: Johan Hovold Acked-by: Arnd Bergmann Signed-off-by: Nicolas Ferre --- Reading git-diff-tree failed