summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/ab8500_fg.c
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-08-13 22:03:53 +0530
committerSebastian Reichel <sre@kernel.org>2016-08-16 00:54:37 +0200
commit829f0e97cc03b0c834cc5f86ff72b2ec389020ef (patch)
tree3cae884ca357ce211d9b3278e047c978218a3502 /drivers/power/supply/ab8500_fg.c
parent9df82628265857e1c491c1ca0ace353e658457ea (diff)
downloadop-kernel-dev-829f0e97cc03b0c834cc5f86ff72b2ec389020ef.zip
op-kernel-dev-829f0e97cc03b0c834cc5f86ff72b2ec389020ef.tar.gz
power: ipaq_micro_battery: Remove deprecated create_singlethread_workqueue
The workqueue "wq" is used for handling battery related tasks. It has a single work item viz &mb->update and hence it doesn't require execution ordering. Hence, alloc_workqueue has been used to replace the deprecated create_singlethread_workqueue instance. 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_fg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud