From d6d8878402c44439de7682375b9d2c0e2e6bf4b1 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:43:59 +1100 Subject: [PATCH] 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 --- drivers/pps/clients/pps-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) || -- 2.39.5