From f6d838d7fecfd4e59a4ce7bdfb16165add36d26e Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Wed, 21 Sep 2011 11:15:59 +0100 Subject: [PATCH] staging:iio:magnetometer:ak8975 use platform_data to pass the gpio number. Tegra doesn't have irq_to_gpio() any more, and ak8975 is included in tegra_defconfig. This causes a build failure. Instead, pass the GPIO name through platform data. [swarren: Rewrote commit description when I squashed this with my patch to remove the irq_to_gpio() call] Signed-off-by: Jonathan Cameron Signed-off-by: Stephen Warren Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed