From 53679dae72dab87599de7be99e133792634f4c21 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Fri, 8 Jan 2016 17:52:23 -0700 Subject: [PATCH] soc: qcom: glink_smem_native_xprt: Use correct IO Read/Write The __raw_writel_no_log and __raw_readl_no_log APIs have been deprecated. Use the alternate IO Read/Write APIs. Signed-off-by: Karthikeyan Ramasubramanian --- drivers/soc/qcom/glink_smem_native_xprt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/qcom/glink_smem_native_xprt.c b/drivers/soc/qcom/glink_smem_native_xprt.c index b3f19121abfe..5bc307223cc0 100644 --- a/drivers/soc/qcom/glink_smem_native_xprt.c +++ b/drivers/soc/qcom/glink_smem_native_xprt.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -313,7 +313,7 @@ static void *memcpy32_toio(void *dest, const void *src, size_t num_bytes) num_bytes /= sizeof(uint32_t); while (num_bytes--) - __raw_writel_no_log(*src_local++, dest_local++); + __raw_writel(*src_local++, dest_local++); return dest; } @@ -339,7 +339,7 @@ static void *memcpy32_fromio(void *dest, const void *src, size_t num_bytes) num_bytes /= sizeof(uint32_t); while (num_bytes--) - *dest_local++ = __raw_readl_no_log(src_local++); + *dest_local++ = __raw_readl(src_local++); return dest; }