Skip to contentSkip to conversation

video/radeonfb: remove MS_TO_HZ()

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 28, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/radeonfb: remove MS_TO_HZ()

I would appreciate any comments from the janitors list.

Applys-to: 2.6.7

Depends-on: Patch to radeon_base.c which replaces call to MS_TO_HZ() with msecs_to_jiffies().

Description: Removes definition of MS_TO_HZ() in favor of msecs_to_jiffies().

drivers/video/aty/radeonfb.h +0 -2
@@ -425,8 +425,6 @@ static inline u32 _INPLL(struct radeonfb
 		spin_unlock_irqrestore(&rinfo->reg_lock, flags); 	\
 	} while (0)
 
-#define MS_TO_HZ(ms)       ((ms * HZ + 999) / 1000)
-
 #define BIOS_IN8(v)  	(readb(rinfo->bios_seg + (v)))
 #define BIOS_IN16(v) 	(readb(rinfo->bios_seg + (v)) | \
 			  (readb(rinfo->bios_seg + (v) + 1) << 8))

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors