firewire: core: improve reread_config_rom() interface
authorClemens Ladisch <clemens@ladisch.de>
Wed, 11 Apr 2012 15:37:36 +0000 (17:37 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 17 Apr 2012 20:27:37 +0000 (22:27 +0200)
commitdb7494e2ce616f2e39e877cf9143b7d873701ec6
tree3b1ba026923ddffd68a5d337fa3014e9086b995d
parentd33ec3b55e91f1c285099fee731b79a722d10fe6
firewire: core: improve reread_config_rom() interface

The return value of reread_config_rom() was a mixture of two pieces of
information: whether the function succeeded, and whether the config rom
had changed.

To clarify the semantics, and to allow returning the actual error code,
split the second information into a new output parameter.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-device.c