From: Andrew Morton Date: Wed, 24 Aug 2011 23:47:55 +0000 (+1000) Subject: remove unneeded cast of void* X-Git-Tag: next-20110912~1^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=774247f34b776f100736e0a410fea24a5b5299aa;p=karo-tx-linux.git 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) ||