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

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

Merge "qcom: rpm-smd: Remove rpm workqueue initialization"

parents 5684450d e370e061
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@
#include <linux/device.h>
#include <linux/notifier.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_platform.h>
@@ -104,8 +103,6 @@ int msm_rpm_unregister_notifier(struct notifier_block *nb)
	return atomic_notifier_chain_unregister(&msm_rpm_sleep_notifier, nb);
}

static struct workqueue_struct *msm_rpm_smd_wq;

enum {
	MSM_RPM_MSG_REQUEST_TYPE = 0,
	MSM_RPM_MSG_TYPE_NR,
@@ -1864,15 +1861,6 @@ static int msm_rpm_dev_probe(struct platform_device *pdev)

	smd_disable_read_intr(msm_rpm_data.ch_info);

	msm_rpm_smd_wq = alloc_workqueue("rpm-smd",
			WQ_UNBOUND | WQ_MEM_RECLAIM | WQ_HIGHPRI, 1);
	if (!msm_rpm_smd_wq) {
		pr_err("%s: Unable to alloc rpm-smd workqueue\n", __func__);
		ret = -EINVAL;
		goto fail;
	}
	queue_work(msm_rpm_smd_wq, &msm_rpm_data.work);

	probe_status = ret;
skip_init:
	of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);