Commit 99e017ec authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] janitor: video/radeonfb: remove MS_TO_HZ()

Removes definition of MS_TO_HZ() in favor of msecs_to_jiffies().
Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 05997361
...@@ -425,8 +425,6 @@ static inline u32 _INPLL(struct radeonfb_info *rinfo, u32 addr) ...@@ -425,8 +425,6 @@ static inline u32 _INPLL(struct radeonfb_info *rinfo, u32 addr)
spin_unlock_irqrestore(&rinfo->reg_lock, flags); \ spin_unlock_irqrestore(&rinfo->reg_lock, flags); \
} while (0) } while (0)
#define MS_TO_HZ(ms) ((ms * HZ + 999) / 1000)
#define BIOS_IN8(v) (readb(rinfo->bios_seg + (v))) #define BIOS_IN8(v) (readb(rinfo->bios_seg + (v)))
#define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \ #define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \
(readb(rinfo->bios_seg + (v) + 1) << 8)) (readb(rinfo->bios_seg + (v) + 1) << 8))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment