From ab0f666453b4c9015a3535078826fd48e483b113 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 25 Aug 2011 09:47:55 +1000 Subject: [PATCH] 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