From 05997361b8ce63d75829ad069164794867cc4b8a Mon Sep 17 00:00:00 2001 From: Maximilian Attems Date: Mon, 18 Oct 2004 18:21:51 -0700 Subject: [PATCH] [PATCH] janitor: video/radeon_base: replace MS_TO_HZ() with msecs_to_jiffies() Replace MS_TO_HZ() with msecs_to_jiffies(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/aty/radeon_base.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index 35cfdb77ee5a0..abecde5c4ed5f 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -991,7 +992,7 @@ static int radeon_screen_blank (struct radeonfb_info *rinfo, int blank, int mode else { rinfo->pending_lvds_gen_cntl = target_val; mod_timer(&rinfo->lvds_timer, - jiffies + MS_TO_HZ(rinfo->panel_info.pwr_delay)); + jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); } } } else { @@ -1842,7 +1843,7 @@ static int radeon_set_backlight_enable(int on, int level, void *data) lvds_gen_cntl |= LVDS_ON; rinfo->pending_lvds_gen_cntl = lvds_gen_cntl; mod_timer(&rinfo->lvds_timer, - jiffies + MS_TO_HZ(rinfo->panel_info.pwr_delay)); + jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay)); } else { lvds_gen_cntl &= ~LVDS_BL_MOD_LEVEL_MASK; lvds_gen_cntl |= (conv_table[level] << -- 2.53.0