From: Andrew Morton Date: Wed, 5 Oct 2011 00:43:59 +0000 (+1100) Subject: pps-new-client-driver-using-gpio-fix X-Git-Tag: next-20111006~1^2~26 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eddee901c5f068da6ecb008da422573372d42644;p=karo-tx-linux.git pps-new-client-driver-using-gpio-fix remove unneeded cast of void* Cc: Alexander Gordeev Cc: Igor Plyatov Cc: James Nuss Cc: Ricardo Martins Cc: Rodolfo Giometti Signed-off-by: Andrew Morton --- diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpio.c index 93f1be06892c..655055545479 100644 --- a/drivers/pps/clients/pps-gpio.c +++ b/drivers/pps/clients/pps-gpio.c @@ -55,7 +55,7 @@ static irqreturn_t pps_gpio_irq_handler(int irq, void *data) /* Get the time stamp first */ pps_get_ts(&ts); - info = (const struct pps_gpio_device_data *)data; + info = data; rising_edge = gpio_get_value(info->pdata->gpio_pin); if ((rising_edge && !info->pdata->assert_falling_edge) ||