firewire: core: clarify generate_config_rom usage
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 7 Oct 2009 22:42:27 +0000 (00:42 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 14 Oct 2009 21:10:48 +0000 (23:10 +0200)
Move the static config ROM buffer into the scope of the two callers of
generate_config_rom().  That way the ROM length can be passed over as
return value rather than through a pointer argument.

It also becomes more obvious that accesses to the config ROM buffer have
to be serialized and how this is accomplished.  And firewire-core.ko
shrinks a bit as well.

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

Simple merge