]> Git Repo - u-boot.git/blobdiff - drivers/timer/timer-uclass.c
dtoc: Tidy up more Python style in dtb_platdata
[u-boot.git] / drivers / timer / timer-uclass.c
index f8a092b8cb1a3aabe1c69dc47de63e77f37913cc..62d0e860e80c527aa9d982fe3cb44be1c4bf7cef 100644 (file)
@@ -34,7 +34,8 @@ int notrace timer_get_count(struct udevice *dev, u64 *count)
        if (!ops->get_count)
                return -ENOSYS;
 
-       return ops->get_count(dev, count);
+       *count = ops->get_count(dev);
+       return 0;
 }
 
 unsigned long notrace timer_get_rate(struct udevice *dev)
This page took 0.024613 seconds and 4 git commands to generate.