Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firewire: Coding style cleanup: no spaces after function names.

Signed-off-by: Kristian Hoegsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

authored by

Kristian Høgsberg and committed by
Stefan Richter
a98e2719 6a5033be

+33 -33
+6 -6
drivers/firewire/fw-card.c
··· 60 60 #define bib_imc ((1) << 31) 61 61 62 62 static u32 * 63 - generate_config_rom (struct fw_card *card, size_t *config_rom_length) 63 + generate_config_rom(struct fw_card *card, size_t *config_rom_length) 64 64 { 65 65 struct fw_descriptor *desc; 66 66 static u32 config_rom[256]; ··· 125 125 } 126 126 127 127 static void 128 - update_config_roms (void) 128 + update_config_roms(void) 129 129 { 130 130 struct fw_card *card; 131 131 u32 *config_rom; ··· 138 138 } 139 139 140 140 int 141 - fw_core_add_descriptor (struct fw_descriptor *desc) 141 + fw_core_add_descriptor(struct fw_descriptor *desc) 142 142 { 143 143 size_t i; 144 144 ··· 156 156 157 157 mutex_lock(&card_mutex); 158 158 159 - list_add_tail (&desc->link, &descriptor_list); 159 + list_add_tail(&desc->link, &descriptor_list); 160 160 descriptor_count++; 161 161 if (desc->immediate > 0) 162 162 descriptor_count++; ··· 169 169 EXPORT_SYMBOL(fw_core_add_descriptor); 170 170 171 171 void 172 - fw_core_remove_descriptor (struct fw_descriptor *desc) 172 + fw_core_remove_descriptor(struct fw_descriptor *desc) 173 173 { 174 174 mutex_lock(&card_mutex); 175 175 ··· 419 419 fw_card_get(card); 420 420 421 421 mutex_lock(&card_mutex); 422 - config_rom = generate_config_rom (card, &length); 422 + config_rom = generate_config_rom(card, &length); 423 423 list_add_tail(&card->link, &card_list); 424 424 mutex_unlock(&card_mutex); 425 425
+2 -2
drivers/firewire/fw-sbp2.c
··· 47 47 #include "fw-device.h" 48 48 49 49 /* I don't know why the SCSI stack doesn't define something like this... */ 50 - typedef void (*scsi_done_fn_t) (struct scsi_cmnd *); 50 + typedef void (*scsi_done_fn_t)(struct scsi_cmnd *); 51 51 52 52 static const char sbp2_driver_name[] = "sbp2"; 53 53 ··· 148 148 dma_addr_t request_bus; 149 149 int rcode; 150 150 struct sbp2_pointer pointer; 151 - void (*callback) (struct sbp2_orb * orb, struct sbp2_status * status); 151 + void (*callback)(struct sbp2_orb * orb, struct sbp2_status * status); 152 152 struct list_head link; 153 153 }; 154 154
+3 -3
drivers/firewire/fw-topology.c
··· 300 300 return local_node; 301 301 } 302 302 303 - typedef void (*fw_node_callback_t) (struct fw_card * card, 304 - struct fw_node * node, 305 - struct fw_node * parent); 303 + typedef void (*fw_node_callback_t)(struct fw_card * card, 304 + struct fw_node * node, 305 + struct fw_node * parent); 306 306 307 307 static void 308 308 for_each_fw_node(struct fw_card *card, struct fw_node *root,
+1 -1
drivers/firewire/fw-topology.h
··· 64 64 static inline struct fw_node * 65 65 fw_node(struct list_head *l) 66 66 { 67 - return list_entry (l, struct fw_node, link); 67 + return list_entry(l, struct fw_node, link); 68 68 } 69 69 70 70 static inline struct fw_node *
+21 -21
drivers/firewire/fw-transaction.h
··· 172 172 const u32 *data; 173 173 }; 174 174 175 - int fw_core_add_descriptor (struct fw_descriptor *desc); 176 - void fw_core_remove_descriptor (struct fw_descriptor *desc); 175 + int fw_core_add_descriptor(struct fw_descriptor *desc); 176 + void fw_core_remove_descriptor(struct fw_descriptor *desc); 177 177 178 - typedef void (*fw_packet_callback_t) (struct fw_packet *packet, 179 - struct fw_card *card, int status); 178 + typedef void (*fw_packet_callback_t)(struct fw_packet *packet, 179 + struct fw_card *card, int status); 180 180 181 181 typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode, 182 182 void *data, ··· 239 239 static inline struct fw_packet * 240 240 fw_packet(struct list_head *l) 241 241 { 242 - return list_entry (l, struct fw_packet, link); 242 + return list_entry(l, struct fw_packet, link); 243 243 } 244 244 245 245 struct fw_address_handler { ··· 350 350 351 351 struct fw_iso_context; 352 352 353 - typedef void (*fw_iso_callback_t) (struct fw_iso_context *context, 354 - u32 cycle, 355 - size_t header_length, 356 - void *header, 357 - void *data); 353 + typedef void (*fw_iso_callback_t)(struct fw_iso_context *context, 354 + u32 cycle, 355 + size_t header_length, 356 + void *header, 357 + void *data); 358 358 359 359 /* 360 360 * An iso buffer is just a set of pages mapped for DMA in the ··· 420 420 * enable the PHY or set the link_on bit and initiate a bus 421 421 * reset. 422 422 */ 423 - int (*enable) (struct fw_card *card, u32 *config_rom, size_t length); 423 + int (*enable)(struct fw_card *card, u32 *config_rom, size_t length); 424 424 425 - int (*update_phy_reg) (struct fw_card *card, int address, 426 - int clear_bits, int set_bits); 425 + int (*update_phy_reg)(struct fw_card *card, int address, 426 + int clear_bits, int set_bits); 427 427 428 428 /* 429 429 * Update the config rom for an enabled card. This function 430 430 * should change the config rom that is presented on the bus 431 431 * an initiate a bus reset. 432 432 */ 433 - int (*set_config_rom) (struct fw_card *card, 434 - u32 *config_rom, size_t length); 433 + int (*set_config_rom)(struct fw_card *card, 434 + u32 *config_rom, size_t length); 435 435 436 - void (*send_request) (struct fw_card *card, struct fw_packet *packet); 437 - void (*send_response) (struct fw_card *card, struct fw_packet *packet); 436 + void (*send_request)(struct fw_card *card, struct fw_packet *packet); 437 + void (*send_response)(struct fw_card *card, struct fw_packet *packet); 438 438 /* Calling cancel is valid once a packet has been submitted. */ 439 - int (*cancel_packet) (struct fw_card *card, struct fw_packet *packet); 439 + int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet); 440 440 441 441 /* 442 442 * Allow the specified node ID to do direct DMA out and in of ··· 446 446 * doesn't support this, -ESTALE if the generation doesn't 447 447 * match. 448 448 */ 449 - int (*enable_phys_dma) (struct fw_card *card, 450 - int node_id, int generation); 449 + int (*enable_phys_dma)(struct fw_card *card, 450 + int node_id, int generation); 451 451 452 - u64 (*get_bus_time) (struct fw_card *card); 452 + u64 (*get_bus_time)(struct fw_card *card); 453 453 454 454 struct fw_iso_context * 455 455 (*allocate_iso_context)(struct fw_card *card,