# Re: \[PATCH v2\] video: fbdev: use msecs\_to\_jiffies for time conversions

- From: Tomi Valkeinen \<hidden\>
- Date: 2015-03-10 12:33:11 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/03/4447466
- Thread: https://ratatoskr.run/linux-fbdev/2015/02/4434579/t.md

```text
On 20/02/15 16:34, Nicholas Mc Guire wrote:
> This is only an API consolidation and should make things more readable by
> replacing  var * HZ / 1000  by msecs_to_jiffies(var).
> 
> Signed-off-by: Nicholas Mc Guire <redacted>
> ---
> 
> v2: fixed missing closing parenthesis in pxafb_disable_controller.
>     Compile testing was missing part of the patched code due to
>     the missing CONFIG_FB_PXA_SMARTPANEL=y, so the missing closing
>     parenthesis reported by Tomi Valkeinen [ref]
>     pxafb_disable_controller went unnoticed.
> 
> Patch was only compile tested with viper_defconfig CONFIG_FB_PXA=m,
> CONFIG_FB_PXA_SMARTPANEL=y
> 
> Patch is against 3.19.0 (localversion-next is -next-20150220)
> 
>  drivers/video/fbdev/pxafb.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

Thanks, queued for 4.1.

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2015/03/4447466/attachment/0) (application/pgp-signature, 819 bytes)
