2004-09-24 03:48:07

by maximilian attems

[permalink] [raw]
Subject: [patch 04/21] video/radeonfb: remove MS_TO_HZ()







I would appreciate any comments from the janitors list.



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().

Signed-off-by: Nishanth Aravamudan <[email protected]>
Signed-off-by: Maximilian Attems <[email protected]>

---

linux-2.6.9-rc2-bk7-max/drivers/video/aty/radeonfb.h | 2 --
1 files changed, 2 deletions(-)

diff -puN drivers/video/aty/radeonfb.h~use-msecs-to-jiffies-drivers_video_aty_radeonfb drivers/video/aty/radeonfb.h
--- linux-2.6.9-rc2-bk7/drivers/video/aty/radeonfb.h~use-msecs-to-jiffies-drivers_video_aty_radeonfb 2004-09-21 20:51:47.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/drivers/video/aty/radeonfb.h 2004-09-21 20:51:47.000000000 +0200
@@ -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))
_