diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-08-13 19:36:33 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-08-16 01:54:37 +0300 |
commit | b732ace40a1d5ea643ee9c28116e829ae950fe8f (patch) | |
tree | a91b3ce9d750d1f6a6ae1dd323098f3c57fe5db8 /scripts/checkkconfigsymbols.py | |
parent | 1c53f3709cbc0da9fbf83bb10b2e3633ade05875 (diff) | |
download | linux-b732ace40a1d5ea643ee9c28116e829ae950fe8f.tar.xz |
power: ds2760_battery: Remove deprecated create_singlethread_workqueue
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set replaces
deprecated create_singlethread_workqueue(). This is the identity
conversion.
The workqueue "monitor_wqueue" is used to monitor the battery
status. It has been identity converted.
It queues multiple work items viz &di->monitor_work,
&di->set_charged_work, which require execution ordering.
Hence, alloc_workqueue has been used to replace the
deprecated create_singlethread_workqueue instance.
WQ_MEM_RECLAIM flag has been set to ensure forward progress under
memory pressure.
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions