]> git.openpandora.org Git - pandora-kernel.git/commitdiff
firewire: core: normalize a function argument name
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 5 Mar 2009 18:07:00 +0000 (19:07 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:48 +0000 (20:56 +0100)
It's called "payload" rather than "data" almost everywhere in
fw-transaction.c.

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

index 1537737e442006d21668c1171fc6d98fe16149e7..76938fe432a04fc3ed5f61c3169158c8bdfe7fe5 100644 (file)
@@ -317,15 +317,15 @@ static void transaction_callback(struct fw_card *card, int rcode,
  */
 int fw_run_transaction(struct fw_card *card, int tcode, int destination_id,
                       int generation, int speed, unsigned long long offset,
-                      void *data, size_t length)
+                      void *payload, size_t length)
 {
        struct transaction_callback_data d;
        struct fw_transaction t;
 
        init_completion(&d.done);
-       d.payload = data;
+       d.payload = payload;
        fw_send_request(card, &t, tcode, destination_id, generation, speed,
-                       offset, data, length, transaction_callback, &d);
+                       offset, payload, length, transaction_callback, &d);
        wait_for_completion(&d.done);
 
        return d.rcode;
Simple merge