Re: [PATCH v2] video: fbdev: use msecs_to_jiffies for time conversions

From
Tomi Valkeinen <hidden>
Date
2015-03-10 12:33:11
Also in
lkml
Reply to
Nicholas Mc Guire, 2015-02-20
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 [off-list 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

Thread (2 messages) 2 messages, 2 authors, last reply 2015-03-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help