mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 04/21]  video/radeonfb: remove MS_TO_HZ()
@ 2004-09-23 20:31 janitor
  0 siblings, 0 replies; only message in thread
From: janitor @ 2004-09-23 20:31 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, janitor, nacc







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@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>

---

 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))
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-24  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23 20:31 [patch 04/21] video/radeonfb: remove MS_TO_HZ() janitor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®