From c4832c25fb9cc06b1a1480183d9db1fb5ce16429 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 28 Sep 2011 10:51:04 +1000 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