Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce085df1 authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: rpmh_master_stat: remove stub function definition



In order to support early merge of code, a vestigial definition for
qcom_smem_get() was added. This was accidentally merged in. Let's remove
it and allow the RPMH master stats to be read from the memory.

Change-Id: I89dc45c6edd8fb0df01416f7d9fb95feb1dfacc2
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 1c730ce0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only

/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 */

#define pr_fmt(fmt) "%s: " fmt, KBUILD_MODNAME
@@ -27,10 +27,6 @@

#define GET_ADDR(REG, UNIT_NO) (REG + (UNIT_DIST * UNIT_NO))

/**************** Remove this *********************************/
#define qcom_smem_get(a, b, c) c
/*************************************************************/

enum master_smem_id {
	MPSS = 605,
	ADSP,