From: Guennadi Liakhovetski Date: Thu, 9 Feb 2012 21:57:07 +0000 (+0100) Subject: mmc: simplify mmc_cd_gpio_request() by removing two parameters X-Git-Tag: v3.4-rc1~49^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b0546a59293cabf54c85e1218da595af3274ff;p=pandora-kernel.git 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 Signed-off-by: Chris Ball --- Reading git-diff-tree failed