video/radeon_base: replace MS_TO_HZ()
Subsystems (2)
PATCH 1/1 video/radeon_base: replace MS_TO_HZ()
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Replace MS_TO_HZ() with msecs_to_jiffies().
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/video/aty/radeon_base.c +2 -1
@@ -61,6 +61,7 @@#include <linux/tty.h> #include <linux/slab.h> #include <linux/delay.h> +#include <linux/time.h> #include <linux/fb.h> #include <linux/ioport.h> #include <linux/init.h>
@@ -1279,7 +1280,7 @@ static void radeon_write_mode (struct raOUTREG (LVDS_GEN_CNTL , mode->lvds_gen_cntl |LVDS_BLON ); rinfo->pending_lvds_gen_cntl = mode->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)); } } }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors