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

Commit 0d799bea authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: rmt_storage: Use smem_find()



smem_alloc() is deprecated.  Use the replacement function, smem_find(),
instead.

Change-Id: I47e29434a3866f53f22e1c2dd64e121f774f8ab3
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent f90c34d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1267,7 +1267,7 @@ static int rmt_storage_get_ramfs(struct rmt_storage_srv *srv)
	if (srv->prog != MSM_RMT_STORAGE_APIPROG)
		return 0;

	ramfs_table = smem_alloc(SMEM_SEFS_INFO,
	ramfs_table = smem_find(SMEM_SEFS_INFO,
			sizeof(struct shared_ramfs_table));

	if (!ramfs_table) {
@@ -1442,7 +1442,7 @@ static int rmt_storage_init_ramfs(struct rmt_storage_srv *srv)
	if (srv->prog != MSM_RMT_STORAGE_APIPROG)
		return 0;

	ramfs_table = smem_alloc(SMEM_SEFS_INFO,
	ramfs_table = smem_find(SMEM_SEFS_INFO,
				 sizeof(struct shared_ramfs_table));

	if (!ramfs_table) {