[PATCH 1/3] macintosh: fix typos in comments

From: Hemanth Selam

Date: Fri Sep 04 2026 - 11:31:12 EST


Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
---
drivers/macintosh/adbhid.c | 4 ++--
drivers/macintosh/macio_asic.c | 2 +-
drivers/macintosh/via-pmu.c | 6 +++---
drivers/macintosh/windfarm_lm75_sensor.c | 2 +-
drivers/macintosh/windfarm_pm81.c | 2 +-
drivers/macintosh/windfarm_pm91.c | 2 +-
drivers/soc/fsl/qbman/qman_portal.c | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c
index 6155da58091b..68d1df6bc92d 100644
--- a/drivers/macintosh/adbhid.c
+++ b/drivers/macintosh/adbhid.c
@@ -32,7 +32,7 @@
*
* Improve Kensington support.
* Split mouse/kbd
- * Move to syfs
+ * Move to sysfs
*/

#include <linux/module.h>
@@ -604,7 +604,7 @@ adbhid_buttons_input(unsigned char *data, int nb, int autopoll)

case 0x7f:
case 0xff:
- /* keypad overlay toogle */
+ /* keypad overlay toggle */
break;

default:
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c
index ee3caa3d87d1..926bd074352b 100644
--- a/drivers/macintosh/macio_asic.c
+++ b/drivers/macintosh/macio_asic.c
@@ -749,7 +749,7 @@ static void macio_pci_remove(struct pci_dev* pdev)

/*
* MacIO is matched against any Apple ID, it's probe() function
- * will then decide wether it applies or not
+ * will then decide whether it applies or not
*/
static const struct pci_device_id pci_ids[] = { {
.vendor = PCI_VENDOR_ID_APPLE,
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 8c652c15018c..736936152b0b 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -482,7 +482,7 @@ static int __init via_pmu_start(void)
/* Make sure PMU settle down before continuing. This is _very_ important
* since the IDE probe may shut interrupts down for quite a bit of time. If
* a PMU communication is pending while this happens, the PMU may timeout
- * Not that on Core99 machines, the PMU keeps sending us environement
+ * Not that on Core99 machines, the PMU keeps sending us environment
* messages, we should find a way to either fix IDE or make it call
* pmu_suspend() before masking interrupts. This can also happens while
* scolling with some fbdevs.
@@ -1286,7 +1286,7 @@ pmu_wait_complete(struct adb_request *req)

/* This function loops until the PMU is idle and prevents it from
* anwsering to ADB interrupts. pmu_request can still be called.
- * This is done to avoid spurrious shutdowns when we know we'll have
+ * This is done to avoid spurious shutdowns when we know we'll have
* interrupts switched off for a long time
*/
void
@@ -1549,7 +1549,7 @@ pmu_sr_intr(void)
/*
* For PMU sleep and freq change requests, we lock the
* PMU until it's explicitly unlocked. This avoids any
- * spurrious event polling getting in
+ * spurious event polling getting in
*/
current_req = req->next;
req->reply_len += data_index;
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index 128e9944429a..085b8c640e3a 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -108,7 +108,7 @@ static int wf_lm75_probe(struct i2c_client *client)
return -ENXIO;
}

- /* Usual rant about sensor names not beeing very consistent in
+ /* Usual rant about sensor names not being very consistent in
* the device-tree, oh well ...
* Add more entries below as you deal with more setups
*/
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c
index 2a4a3746f6a0..308ed55688b2 100644
--- a/drivers/macintosh/windfarm_pm81.c
+++ b/drivers/macintosh/windfarm_pm81.c
@@ -734,7 +734,7 @@ static void wf_smu_remove(struct platform_device *ddev)

/* Release all sensors */
/* One more crappy race: I don't think we have any guarantee here
- * that the attribute callback won't race with the sensor beeing
+ * that the attribute callback won't race with the sensor being
* disposed of, and I'm not 100% certain what best way to deal
* with that except by adding locks all over... I'll do that
* eventually but heh, who ever rmmod this module anyway ?
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c
index 14089d57e5f7..d2e72d1aa6bc 100644
--- a/drivers/macintosh/windfarm_pm91.c
+++ b/drivers/macintosh/windfarm_pm91.c
@@ -656,7 +656,7 @@ static void wf_smu_remove(struct platform_device *ddev)

/* Release all sensors */
/* One more crappy race: I don't think we have any guarantee here
- * that the attribute callback won't race with the sensor beeing
+ * that the attribute callback won't race with the sensor being
* disposed of, and I'm not 100% certain what best way to deal
* with that except by adding locks all over... I'll do that
* eventually but heh, who ever rmmod this module anyway ?
diff --git a/drivers/soc/fsl/qbman/qman_portal.c b/drivers/soc/fsl/qbman/qman_portal.c
index 456ef5d5c199..e44de59ec522 100644
--- a/drivers/soc/fsl/qbman/qman_portal.c
+++ b/drivers/soc/fsl/qbman/qman_portal.c
@@ -33,7 +33,7 @@
struct qman_portal *qman_dma_portal;
EXPORT_SYMBOL(qman_dma_portal);

-/* Enable portal interupts (as opposed to polling mode) */
+/* Enable portal interrupts (as opposed to polling mode) */
#define CONFIG_FSL_DPA_PIRQ_SLOW 1
#define CONFIG_FSL_DPA_PIRQ_FAST 1

--
2.48.1