]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power_supply: max17040: Use system efficient workqueues
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Feb 2015 09:54:46 +0000 (10:54 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 20:45:46 +0000 (21:45 +0100)
commit52fa74ee690e6491295ac221c83c56563257f294
tree9ddf81cf0e83decf3b252672cfe599d1d05dceaf
parentdd18a6634606cbaa19ae1e85f5bcb65b9f7dfce4
power_supply: max17040: Use system efficient workqueues

The scheduled work in max17040_battery driver reads device parameters
and stores them in memory. Any CPU could do that so use system efficient
workqueues to limit unnecessary CPU wake ups.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max17040_battery.c