Loading drivers/soc/qcom/rpm-smd.c +0 −12 Original line number Diff line number Diff line Loading @@ -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> Loading Loading @@ -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, Loading Loading @@ -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); Loading Loading
drivers/soc/qcom/rpm-smd.c +0 −12 Original line number Diff line number Diff line Loading @@ -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> Loading Loading @@ -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, Loading Loading @@ -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); Loading