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

Commit 08781af6 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

diag: dci: Use smd_named_open_on_edge()



smd_open is depreciated.  Use the replacement function,
smd_named_open_on_edge(), instead.

Change-Id: I668273e2e611f1b3a85245e150254c4d3ccfd923
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 60e6ad84
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1397,7 +1397,8 @@ static int diag_dci_probe(struct platform_device *pdev)

	if (pdev->id == SMD_APPS_MODEM) {
		index = MODEM_DATA;
		err = smd_open("DIAG_2",
		err = smd_named_open_on_edge("DIAG_2",
			SMD_APPS_MODEM,
			&driver->smd_dci[index].ch,
			&driver->smd_dci[index],
			diag_smd_notify);