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

Commit 84dce0d6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: smd: Remove smd_open()"

parents 246bfc6b a2210eda
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -143,10 +143,6 @@ struct smd_platform {
};

#ifdef CONFIG_MSM_SMD
/* warning: notify() may be called before open returns */
int smd_open(const char *name, smd_channel_t **ch, void *priv,
	     void (*notify)(void *priv, unsigned event));

int smd_close(smd_channel_t *ch);

/* passing a null pointer for data reads and discards */
@@ -337,12 +333,6 @@ const char *smd_edge_to_pil_str(uint32_t type);

#else

static inline int smd_open(const char *name, smd_channel_t **ch, void *priv,
	     void (*notify)(void *priv, unsigned event))
{
	return -ENODEV;
}

static inline int smd_close(smd_channel_t *ch)
{
	return -ENODEV;
+0 −9
Original line number Diff line number Diff line
@@ -2100,15 +2100,6 @@ int smd_named_open_on_edge(const char *name, uint32_t edge,
}
EXPORT_SYMBOL(smd_named_open_on_edge);


int smd_open(const char *name, smd_channel_t **_ch,
	     void *priv, void (*notify)(void *, unsigned))
{
	return smd_named_open_on_edge(name, SMD_APPS_MODEM, _ch, priv,
				      notify);
}
EXPORT_SYMBOL(smd_open);

int smd_close(smd_channel_t *ch)
{
	unsigned long flags;