diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-02-09 22:57:07 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:20:14 -0400 |
commit | c9b0546a59293cabf54c85e1218da595af3274ff (patch) | |
tree | a74dd0315e163c1daaf55abf9087801d84ba8ec0 /drivers/pci/hotplug-pci.c | |
parent | 296e0b0357e09fdc6f307953da51c0e5da5b84e7 (diff) | |
download | linux-c9b0546a59293cabf54c85e1218da595af3274ff.tar.bz2 |
mmc: simplify mmc_cd_gpio_request() by removing two parameters
Calculate the IRQ number, using gpio_to_irq() and use fixed flags: trigger
on both edges. This makes two out of four arguments of the
mmc_cd_gpio_request() function redundant.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/pci/hotplug-pci.c')
0 files changed, 0 insertions, 0 deletions