diff options
author | Tejun Heo <tj@kernel.org> | 2012-08-21 22:18:23 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-08-21 22:18:23 +0200 |
commit | 203b42f7317494ae5e5efc7be6fb7f29c927f102 (patch) | |
tree | 5636bc6da58284977678e0d2c2accc2573260a53 /drivers/power/max17040_battery.c | |
parent | workqueue: cosmetic whitespace updates for macro definitions (diff) | |
download | linux-203b42f7317494ae5e5efc7be6fb7f29c927f102.tar.xz linux-203b42f7317494ae5e5efc7be6fb7f29c927f102.zip |
workqueue: make deferrable delayed_work initializer names consistent
Initalizers for deferrable delayed_work are confused.
* __DEFERRED_WORK_INITIALIZER()
* DECLARE_DEFERRED_WORK()
* INIT_DELAYED_WORK_DEFERRABLE()
Rename them to
* __DEFERRABLE_WORK_INITIALIZER()
* DECLARE_DEFERRABLE_WORK()
* INIT_DEFERRABLE_WORK()
This patch doesn't cause any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/power/max17040_battery.c')
-rw-r--r-- | drivers/power/max17040_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c index c284143cfcd7..58e67830143c 100644 --- a/drivers/power/max17040_battery.c +++ b/drivers/power/max17040_battery.c @@ -232,7 +232,7 @@ static int __devinit max17040_probe(struct i2c_client *client, max17040_reset(client); max17040_get_version(client); - INIT_DELAYED_WORK_DEFERRABLE(&chip->work, max17040_work); + INIT_DEFERRABLE_WORK(&chip->work, max17040_work); schedule_delayed_work(&chip->work, MAX17040_DELAY); return 0; |