staging: most: use readl and writel functions
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 22 Dec 2015 09:52:49 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This patch makes use of functions readl and writel instead of
the __raw_* variants.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_hdm.c

index 327d738c719422410489b1fdc5f31f8c7d8a1b39..48ce7ab1bb030fb0d854e4ec8f8b4fcf1813f193 100644 (file)
@@ -140,7 +140,7 @@ bool dim2_sysfs_get_state_cb(void)
  */
 u32 dimcb_io_read(u32 *ptr32)
 {
-       return __raw_readl(ptr32);
+       return readl(ptr32);
 }
 
 /**
@@ -150,7 +150,7 @@ u32 dimcb_io_read(u32 *ptr32)
  */
 void dimcb_io_write(u32 *ptr32, u32 value)
 {
-       __raw_writel(value, ptr32);
+       writel(value, ptr32);
 }
 
 /**