Skip to content

Commit

Permalink
MIPS: AR7: Whitespace hacking
Browse files Browse the repository at this point in the history
[Ralf: Fixed up reject and Wu's complaints about comment style.]

Signed-off-by: Alexander Clouter <[email protected]>
To: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/921/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
jimdigriz authored and ralfbaechle committed Feb 27, 2010
1 parent 10229f3 commit 4d1da8c
Show file tree
Hide file tree
Showing 5 changed files with 343 additions and 316 deletions.
6 changes: 3 additions & 3 deletions arch/mips/ar7/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include <asm/mach-ar7/gpio.h>

struct ar7_gpio_chip {
void __iomem *regs;
struct gpio_chip chip;
void __iomem *regs;
struct gpio_chip chip;
};

static int ar7_gpio_get_value(struct gpio_chip *chip, unsigned gpio)
Expand Down Expand Up @@ -77,7 +77,7 @@ static int ar7_gpio_direction_output(struct gpio_chip *chip,

static struct ar7_gpio_chip ar7_gpio_chip = {
.chip = {
.label = "ar7-gpio",
.label = "ar7-gpio",
.direction_input = ar7_gpio_direction_input,
.direction_output = ar7_gpio_direction_output,
.set = ar7_gpio_set_value,
Expand Down
3 changes: 1 addition & 2 deletions arch/mips/ar7/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ void __init prom_meminit(void)
unsigned long pages;

pages = memsize() >> PAGE_SHIFT;
add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT,
BOOT_MEM_RAM);
add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, BOOT_MEM_RAM);
}

void __init prom_free_prom_memory(void)
Expand Down
Loading

0 comments on commit 4d1da8c

Please sign in to comment.