From nobody Tue Apr 7 05:57:35 2026 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83743384248 for ; Mon, 16 Mar 2026 09:01:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773651703; cv=none; b=e1LBjO/mfqylW2oKCljDKP7J+zN/uRPaBT5VEP427BjUDdY9+Q4B/KuC72JoHWAHk7XAg8WN/hdJF5MsZRf+kuOfwLpTd2h9E407nEgKURbeuiute5AO1Gc7dRHcFkvfFZIOBbkgSpmarMjDZ+UW9lZABhbZQUPvLUn40CKFJac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773651703; c=relaxed/simple; bh=V3HWIXCvXXE7FE5FRYklt761wxOahtV1detCwX3P8f0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P1fUN/2NPV+c46oQkyYJIbEenF3H/iYff2bNCeMioc6nWvK3n6r2CTIhs5t7TEV7Kzast5Mklta/XM6U7Tgdvown/vGgoNKBzjxn8bfP/T9GOop0B4VaJnRsRGwGaGkKcl/3fwfqNwGE14pxtqiNO7iybIjj1M/xvIOBuazu4kY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=C218IYR7; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C218IYR7" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2b048527825so8566585ad.3 for ; Mon, 16 Mar 2026 02:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773651702; x=1774256502; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BUxp2VUu2W6Pw8Gz02q+Ts23ED2qB8HC59Sr60mpXkQ=; b=C218IYR7f/sWYmevDy2SuelvnjYSOpf3HTTiBuJGIOkaIvp7IZmQribbHpi2TCik5O v2wTK2AMCg/V87ALAlcqKeLz8bOcjrMI47b0wsoYrLi49kPGpQ1J0zLbdmoTjaa6mMBG mFIMCvrMjPtlp7ncX+BGYj6/wCswwlvoraBEoP6QMTK09zGPPdLnsdMYuGvC9bn4539D XToJ60Rq6dcbAyDbDWUmIEdDryN8WPq8KZlPo3JR9EvDZ8rdvuEp+ezqdUqrB674gvhE l+iJrtlsVPfzH4H6eimaFv0iN8UlAZAw0yztmCHmj7vrEjC2RiUeYEVoGpmrnP4wGSby SUrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773651702; x=1774256502; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BUxp2VUu2W6Pw8Gz02q+Ts23ED2qB8HC59Sr60mpXkQ=; b=U9T3TkkI2RtgC7Gdn4/NPzmNe/udXVjmxcMLo+LOEye7fK7jXMNyj3PvigvlzNGfNq DX1epnSAjZ1hlLA8BLSy35bfvYImNJHfWij2xx7TTVRsOVVe7GeuxzJrSVKw2e2tTwT9 feOTKVfNmC4uv8aAItSJnZ8E1l7xA2w3o9H0fbCbkW0Hp9EY9qXoizBhE3YGl9leGXWN 150AVZA6A3dQ90VbWXEapLtvpM612hGiqlcjbTyKlba8ytkiSqKXe3stLO9vRbrnt/kb RkLqRzqrOASiw+0fIGLRdmA7XdsZX3GRDQPynNXT7E0oEnAzmv+6X0Ov1gh9Y6U6pQvx 1KuA== X-Forwarded-Encrypted: i=1; AJvYcCXr6X9v/GVSK3OS8eJZc8eEuLgZ0Q/uAlp861RbkpX5GbWsYUN2Qpup/ldPLxoWutVAJPFAIanzeOL9U1k=@vger.kernel.org X-Gm-Message-State: AOJu0YyDXHzKoIt3PTf1pskwDfLSJwhPZS+b5vASsL5nt/fAVCzeT41O ZQE8MXLlXpodUrQzbu5E4VNqKUD36vX7lG31/J/u+2OwLyhz5rQP6zLs X-Gm-Gg: ATEYQzyEeUFR7tbS2joJSzB3JTpvUqk1ZmjiSTFUNaHCTgkJIxVvhAacr58KyrtdN2f lcLrJOwFNH4OmSedpj9PB6hyILsPcH/n3vqTtNUvzt6D+j8OMhJ3uzyixihFSImEf+fpg0acQYf Z2/xBa7DWUS8xfJnR8w4ovDjq9W0/qS9jIo73HA5JZogqvEL8VyUfNpE8V7TlJNdKWMe462YTqx 4myXBbbAKZ2FdnQTuHZnG4LEDRGOIriv8aYM3YcTc1ZVE+G6SWJvfJaDhCNUJiAn9Z2WuWwNein VSQIPgq/QcWJ4RIUBegByfA8Uu89IMJ16+ecRhGp+Fr4k+eptf7wjY7XKppz8ByU7bBaFARlZmF bspUHAgOGn21+1a0yJrg0QVSvtqdddU3ZgVSlQ+m3YDTfugLY/wCa5erlBUZj0uEmXzlVGt9s8J 2N5FirXV0mptiD73cRrqdpYsuZ X-Received: by 2002:a17:902:db0a:b0:2b0:5770:d485 with SMTP id d9443c01a7336-2b05770d6b7mr28757365ad.11.1773651701848; Mon, 16 Mar 2026 02:01:41 -0700 (PDT) Received: from fedora ([2401:4900:1f33:4eeb:289f:fcde:6da5:35e3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2aece868172sm98105835ad.89.2026.03.16.02.01.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 02:01:41 -0700 (PDT) From: Shi Hao To: jic23@kernel.org Cc: andriy.shevchenko@intel.com, andy@kernel.org, dlechner@baylibre.com, i.shihao.999@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, mazziesaccount@gmail.com, nuno.sa@analog.com Subject: [PATCH v5 11/14] iio: common: fix spelling mistakes in comments Date: Mon, 16 Mar 2026 14:30:19 +0530 Message-ID: <20260316090023.14691-12-i.shihao.999@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260316090023.14691-1-i.shihao.999@gmail.com> References: <20260316090023.14691-1-i.shihao.999@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix spelling mistakes in comments. - exepects -> expects - fuction -> function - theoritical -> theoretical - appopriate -> appropriate - iio -> IIO Signed-off-by: Shi Hao --- drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c | 2 +- drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 2 +- drivers/iio/common/inv_sensors/inv_sensors_timestamp.c | 4 ++-- drivers/iio/common/ms_sensors/ms_sensors_i2c.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c b/drivers= /iio/common/cros_ec_sensors/cros_ec_sensors.c index 82cef4a12442..f34e2bbba2d1 100644 --- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c @@ -106,7 +106,7 @@ static int cros_ec_sensors_read(struct iio_dev *indio_d= ev, switch (st->core.type) { case MOTIONSENSE_TYPE_ACCEL: /* - * EC returns data in g, iio exepects m/s^2. + * EC returns data in g, IIO expects m/s^2. * Do not use IIO_G_TO_M_S_2 to avoid precision loss. */ *val =3D div_s64(val64 * 980665, 10); diff --git a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c b/drive= rs/iio/common/hid-sensors/hid-sensor-attributes.c index a61428bfdce3..c115a72832b2 100644 --- a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c +++ b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c @@ -346,7 +346,7 @@ int hid_sensor_write_raw_hyst_rel_value(struct hid_sens= or_common *st, EXPORT_SYMBOL_NS(hid_sensor_write_raw_hyst_rel_value, "IIO_HID"); /* - * This fuction applies the unit exponent to the scale. + * This function applies the unit exponent to the scale. * For example: * 9.806650000 ->exp:2-> val0[980]val1[665000000] * 9.000806000 ->exp:2-> val0[900]val1[80600000] diff --git a/drivers/iio/common/inv_sensors/inv_sensors_timestamp.c b/drive= rs/iio/common/inv_sensors/inv_sensors_timestamp.c index 97526ba87b93..e0b10366ed2b 100644 --- a/drivers/iio/common/inv_sensors/inv_sensors_timestamp.c +++ b/drivers/iio/common/inv_sensors/inv_sensors_timestamp.c @@ -154,7 +154,7 @@ void inv_sensors_timestamp_interrupt(struct inv_sensors= _timestamp *ts, valid =3D inv_update_chip_period(ts, period); } - /* no previous data, compute theoritical value from interrupt */ + /* no previous data, compute theoretical value from interrupt */ if (ts->timestamp =3D=3D 0) { /* elapsed time: sensor period * sensor samples number */ interval =3D (int64_t)ts->period * (int64_t)sample_nb; @@ -185,7 +185,7 @@ void inv_sensors_timestamp_apply_odr(struct inv_sensors= _timestamp *ts, /* * After ODR change the time interval with the previous sample is - * undertermined (depends when the change occures). So we compute the + * undertermined (depends when the change occurs). So we compute the * timestamp from the current interrupt using the new FIFO period, the * total number of samples and the current sample numero. */ diff --git a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c b/drivers/iio/c= ommon/ms_sensors/ms_sensors_i2c.c index 588470863681..1960a2ce82a8 100644 --- a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c +++ b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c @@ -96,7 +96,7 @@ EXPORT_SYMBOL_NS(ms_sensors_read_prom_word, "IIO_MEAS_SPE= C_SENSORS"); * * Generic ADC conversion & read function for Measurement Specialties * devices. - * The function will issue conversion command, sleep appopriate delay, and + * The function will issue conversion command, sleep appropriate delay, and * issue command to read ADC. * * Return: 0 on success, negative errno otherwise. -- 2.53.0