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

From: janitor
Date: Thu Sep 23 2004 - 22:52:31 EST








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 <nacc@xxxxxxxxxx>
Signed-off-by: Maximilian Attems <janitor@xxxxxxxxxxxxxx>

---

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))
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/