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>
This commit is contained in:
parent
9e2f2c4fb9
commit
560dca25cd
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue