Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318444
b: refs/heads/master
c: 224a1f9
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Linus Walleij committed Jul 12, 2012
1 parent ddc7c49 commit da6732a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f942a7de047d8c599cc1a9a26293c8c7400450ea
refs/heads/master: 224a1f90458b5005fa7aec5e8a6d64fd8eccb208
6 changes: 2 additions & 4 deletions trunk/drivers/gpio/gpio-wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/mfd/core.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#include <linux/regmap.h>

#include <linux/mfd/wm8994/core.h>
#include <linux/mfd/wm8994/pdata.h>
Expand Down Expand Up @@ -109,10 +110,7 @@ static int wm8994_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
struct wm8994_gpio *wm8994_gpio = to_wm8994_gpio(chip);
struct wm8994 *wm8994 = wm8994_gpio->wm8994;

if (!wm8994->irq_base)
return -EINVAL;

return wm8994->irq_base + offset;
return regmap_irq_get_virq(wm8994->irq_data, offset);
}


Expand Down

0 comments on commit da6732a

Please sign in to comment.