summaryrefslogtreecommitdiff
path: root/drivers/power/supply/ab8500_charger.c
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-08-13 16:20:11 (GMT)
committerSebastian Reichel <sre@kernel.org>2016-08-15 22:54:37 (GMT)
commit87f818b35c3007d1014541c07688ab29443a22c2 (patch)
tree5f4fa364acceae0fb086514f6b886c6a843e60b9 /drivers/power/supply/ab8500_charger.c
parentd8a69251fb58a756e2dd00cc5c7f1b54d383e203 (diff)
downloadlinux-87f818b35c3007d1014541c07688ab29443a22c2.tar.xz
power: intel_mid_battery: Remove deprecated create_singlethread_workqueue
The workqueue "monitor_wqueue" is used to monitor the PMIC battery status. It queues a single work item (pbi->monitor_battery) and hence doesn't require ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. Since PMIC battery status needs to be monitored for any change, the WQ_MEM_RECLAIM flag has been set to ensure forward progress under memory pressure. Since there is a single work item, explicit concurrency limit is unnecessary here. Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/supply/ab8500_charger.c')
0 files changed, 0 insertions, 0 deletions