diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2015-12-22 12:52:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-08 04:34:58 +0300 |
commit | 560dca25cd038ae932c8f2d42bf991968faf258a (patch) | |
tree | 8173bd75525cf0d20fb719b0e9e54185c4d863a8 /drivers/staging/most/hdm-dim2/dim2_hdm.c | |
parent | 9e2f2c4fb93a12e20f6bd82e1b9bf3df36236198 (diff) | |
download | linux-560dca25cd038ae932c8f2d42bf991968faf258a.tar.xz |
staging: most: use readl and writel functions
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>
Diffstat (limited to 'drivers/staging/most/hdm-dim2/dim2_hdm.c')
-rw-r--r-- | drivers/staging/most/hdm-dim2/dim2_hdm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c b/drivers/staging/most/hdm-dim2/dim2_hdm.c index 327d738c7194..48ce7ab1bb03 100644 --- a/drivers/staging/most/hdm-dim2/dim2_hdm.c +++ b/drivers/staging/most/hdm-dim2/dim2_hdm.c @@ -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); } /** |