commit | c9b0546a59293cabf54c85e1218da595af3274ff | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Thu Feb 09 22:57:07 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Tue Mar 27 12:20:14 2012 -0400 |
tree | a74dd0315e163c1daaf55abf9087801d84ba8ec0 | |
parent | 296e0b0357e09fdc6f307953da51c0e5da5b84e7 [diff] |
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>