]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: normalize style of queue_work wrappers
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 7 Oct 2009 22:41:10 +0000 (00:41 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 14 Oct 2009 21:10:48 +0000 (23:10 +0200)
commit6cfb091613a9436ba79ff2ff6fd5ae7668f801d6
tree63c52c2b3c6ee05b11176ce16fa3eb9c7b69edad
parenta0976edb9566fb45755820ba881c62582990facb
firewire: normalize style of queue_work wrappers

A few stylistic changes to unify some code patterns in the subsystem:

  - The similar queue_delayed_work helpers fw_schedule_bm_work,
    schedule_iso_resource, and sbp2_queue_work now have the same call
    convention.
  - Two conditional calls of schedule_iso_resource are factored into
    another small helper.
  - An sbp2_target_get helper is added as counterpart to
    sbp2_target_put.

Object size of firewire-core is decreased a little bit, object size of
firewire-sbp2 remains unchanged.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-card.c
drivers/firewire/core-cdev.c
drivers/firewire/sbp2.c