]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
remove unneeded cast of void*
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 24 Aug 2011 23:47:55 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 Sep 2011 08:26:35 +0000 (18:26 +1000)
Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Igor Plyatov <plyatov@gmail.com>
Cc: James Nuss <jamesnuss@nanometrics.ca>
Cc: Ricardo Martins <rasm@fe.up.pt>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/pps/clients/pps-gpio.c

index 93f1be06892cccf9160a682953c9a0e0cf4d1474..6550555454796c0dfe2b08e477f18de49b569729 100644 (file)
@@ -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) ||