Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251966
b: refs/heads/master
c: fd99623
h: refs/heads/master
v: v3
  • Loading branch information
Jamie Iles authored and Grant Likely committed May 20, 2011
1 parent 8f0d6f0 commit 7b4f6be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31029116ebc1f2481bd2380437e9f7a18f18dca5
refs/heads/master: fd9962352105f19711d55cc2caaf75b2e201598b
16 changes: 8 additions & 8 deletions trunk/drivers/gpio/basic_mmio_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,43 +101,43 @@ static struct bgpio_chip *to_bgpio_chip(struct gpio_chip *gc)

static void bgpio_write8(void __iomem *reg, unsigned long data)
{
__raw_writeb(data, reg);
writeb(data, reg);
}

static unsigned long bgpio_read8(void __iomem *reg)
{
return __raw_readb(reg);
return readb(reg);
}

static void bgpio_write16(void __iomem *reg, unsigned long data)
{
__raw_writew(data, reg);
writew(data, reg);
}

static unsigned long bgpio_read16(void __iomem *reg)
{
return __raw_readw(reg);
return readw(reg);
}

static void bgpio_write32(void __iomem *reg, unsigned long data)
{
__raw_writel(data, reg);
writel(data, reg);
}

static unsigned long bgpio_read32(void __iomem *reg)
{
return __raw_readl(reg);
return readl(reg);
}

#if BITS_PER_LONG >= 64
static void bgpio_write64(void __iomem *reg, unsigned long data)
{
__raw_writeq(data, reg);
writeq(data, reg);
}

static unsigned long bgpio_read64(void __iomem *reg)
{
return __raw_readq(reg);
return readq(reg);
}
#endif /* BITS_PER_LONG >= 64 */

Expand Down

0 comments on commit 7b4f6be

Please sign in to comment.