2012-08-01 08:43:01

by Jens Rottmann

[permalink] [raw]
Subject: [PATCH 2nd resend] cs5535-clockevt: typo, it's MFGPT, not MFPGT

cs5535-clockevt: typo, it's MFGPT, not MFPGT

Had me fooled for a while, "dmesg|grep -i mfgpt" wouldn't show anything.

Signed-off-by: Jens Rottmann <[email protected]>
---

Hi Thomas,

I know this is not the most important fix in the world, but the nice
thing about open source is that you can scatch your itches ...

Got no response, therefore rescratching. :-)

Thanks,
Jens

--- linux-3.4/drivers/clocksource/cs5535-clockevt.c
+++ mfgpt_typo/drivers/clocksource/cs5535-clockevt.c
@@ -53,7 +53,7 @@
#define MFGPT_PERIODIC (MFGPT_HZ / HZ)

/*
- * The MFPGT timers on the CS5536 provide us with suitable timers to use
+ * The MFGPT timers on the CS5536 provide us with suitable timers to use
* as clock event sources - not as good as a HPET or APIC, but certainly
* better than the PIT. This isn't a general purpose MFGPT driver, but
* a simplified one designed specifically to act as a clock event source.
@@ -144,7 +144,7 @@

timer = cs5535_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING);
if (!timer) {
- printk(KERN_ERR DRV_NAME ": Could not allocate MFPGT timer\n");
+ printk(KERN_ERR DRV_NAME ": Could not allocate MFGPT timer\n");
return -ENODEV;
}
cs5535_event_clock = timer;
_