]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pps-new-client-driver-using-gpio-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:43:59 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:50:01 +0000 (17:50 +1100)
remove unneeded cast of void*

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) ||