From patchwork Thu Sep 26 03:43:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 13812787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 776BDCCFA15 for ; Thu, 26 Sep 2024 03:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=OFKRa80yJk9OHelGpGuoqf/NbZGbM0fFaZySFdiXlMs=; b=ubAxbpAeceBs5jciiEGjhV9wBx xAvQp1sqgWirqZWts8+CrBTfQII8F/uH9+RxeOgRLDmi0pxPzwkTCjHGTAvl4cm1LW+7Cpjd3BfsC BtqtUy93uZ4aWn4f8Q+PaFDfAs4poNQygYtDMWy4Udz78LZoKZL/wa2vdvbpRJnbBJ7N+IqCImKBh 8XjHaCICTOUyEu3VvcTI9q7BOwlASB1z3hZ3Fhcv5j3/VPNIiwEZJirR4hyLW1ssVVh4zXj185fpl pn09kiLysDgGIH7f3qP+aRZJtpoQhZ5FE5aeq9S8q4QGtSDCWYf+Io5B9rHYEqbIBZ8yGkk6XKP5u bTNE9gpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stfSE-00000007760-2QzF; Thu, 26 Sep 2024 03:46:10 +0000 Received: from mail-tyzapc01on20629.outbound.protection.outlook.com ([2a01:111:f403:2011::629] helo=APC01-TYZ-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stfR2-000000076s3-1qai for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2024 03:44:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bh/egyHyrAfjXWtyK+OERjsI7acVK6y65RhLFToZzRXMeczPbskXmz4wbL9FM+28eqperQHMH4+fKAlzj+C7s7yTn0K4BWSNw/KKkY20eFH178EAxQLaYnHv+6OSsi+Avt3Rry2Bt51Jwwwe4rVBmzzWOhbHoEYnPhcFQhz7aQB3K9F/MXKS5C0nYHiYezX1PjJjilZNZ8jA7K5VPWoo8MYpDC7hSknMnk4hIPq77sX4Rl12En6B7E9LGCQWrlEOwiVALDZNrC9Ph6tW27WetoKTHbXhp60+NaAYu3hLsiLl3Rv8kNJ5YI1BsK+wT2HQqBTPDoz2NgOPLx54fvazyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OFKRa80yJk9OHelGpGuoqf/NbZGbM0fFaZySFdiXlMs=; b=bawZiHpLMJe8M8Hsxa1HHNDizW5Oi7mb2VpAgO060UOSKckeyksmqEtzGbZz9qzZnuznifh+XSMuOgXo3PejLJu2mEtmXo1PRAsFcOF003Py8XLu5J48HKJuJ5BAeom7J+0Y9Ei4yzH2fwFbHGswyiOhAOSJChZDz00cxXXQw+ibtn0in4ZzeZeQwchXDwOYpzkNf5Dch4dppqZieLIeXknT4Xm9SHnyik532Lx0ZxGdSAEWXmTXwReHEsX7pVZrT8mHcBOVfH5oqhcOX6Mnz2nB3IR4Yqjd9DYn5k6jA2hnTmlUj0j7uME8gFtxwiBs/5x/LKRxlHTc6b5cZmUBrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OFKRa80yJk9OHelGpGuoqf/NbZGbM0fFaZySFdiXlMs=; b=eodnH5eZq5hS1y+e9f7b6rc5l27iC2sKOOnbs3+1lnHYlvgHYVVR9TOSHCXjl8vsWgKpuyTcNb87VsK5Z/b53CKyvycLKHp5OBqZiSWTcaMGKxliHP6r8qYTBDKRqEGVY6MQXhFZCDrpwH6Ltngu/251Wcnz5a3va3PPXUO37geeF4Nfa/t3O1FUFf3xS4dKwx4tUV9hRA6cI5VpbxcmHdgSRhJ/5YLQTaJP8fC80WX0XLqKDIvDT6PO10n7DwPsiX+9romAgZFg7skyV8VKbeIGarH1F112qmI++Bx8Y9XWg1PfJfvVZXRlSRUMq8+Jp8OKqUGz2zOIwOxPHHJcpw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) by SEYPR06MB5693.apcprd06.prod.outlook.com (2603:1096:101:be::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.28; Thu, 26 Sep 2024 03:44:44 +0000 Received: from TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70]) by TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70%5]) with mapi id 15.20.7982.022; Thu, 26 Sep 2024 03:44:44 +0000 From: Yu Jiaoliang To: Lars-Peter Clausen , Michael Hennerich , Marcelo Schmitt , Jonathan Cameron , Matteo Martelli , Michal Simek , Ivan Mikhaylov , Mike Looijmans , Dan Carpenter , Nuno Sa , Luca Ceresoli , Richard Leitner , Stephen Boyd , Wadim Egorov , Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: opensource.kernel@vivo.com Subject: [PATCH v1] iio: adc: Fix typos in comments across various files Date: Thu, 26 Sep 2024 11:43:54 +0800 Message-Id: <20240926034411.3482986-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: TYAPR04CA0023.apcprd04.prod.outlook.com (2603:1096:404:15::35) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|SEYPR06MB5693:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a61a54a-0c89-43a9-52f5-08dcdddd8f4c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|376014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: KfkTXUmr3tOUWafQzEo/LeaUgcWaJP+lZUk6hW367ElOyhAoGsHcdIJlyITB/D3ml5Wj5CDKr8we20hjKSiUQifbwpv8AMRSjWzK51rFerBP4h1gkC8rxXvXOvdnox461+Zi/0fKLfZaRdK5pJjK+I1F7FFtt7bvLZdeJCqLXJGtiW2stnyzHgKxRes09/8WRGR3HrEfolTGEOVJJkwz3PAvr54knvw9yVWG9JXEyN+2Q5BiTHf0j9csM/Pk9p6C39q4etQzo4m2wvWj0loPOeeuTN3I+xnNXLJwcm/0AV3VoQNdQe7T7K+UcyMCukoW4xNOfk2CxH+TUMJLlY3f1fOTrOIUkdvpuFCfYeN/udo5RiX6JMjbTXWosD0G8XAEkt8cNif6MEdxsuP2G/mxosyiekoeYn/FlCbktdCTOkLsRXxF2OOWan/4BFsDZkLUQaJngxsqUoLKNQ+fmKj4opNXjmJdxJOR4XNjWa3i1i103l46a2o3pha1rv/v5tquoJHEoTSozPwqRsz/sSW6rYPzDS7lwAXOgMMnCBmksqBMzqIpqzmmbmb8lUpPW6xe47NxsKtJXl1Ia3g6Sgrt57CXeuU8DG7649ATpq/NdNFoJo1ADgSnJLEmwuzOhTVTbW3Ux4Vh2VF8N89txkd4kceyOKRHnfnyB7p4lYQH9OKmjJc6xBRuzP07E+O7F5o2H/Dpp5qoCpOY9B6v0ff9VwzXinXa8EElf3laSjsl7htDT0IQkKlbsgN+F6dbgwrKEP/rGsQYOcS3KX4O2JEeMV2i8b8LbvZg1SoewhoAoXQBEdENKGn+5ajN+rQp1sbZ9zBnruFXyYVwbtey75MjBdt6M9RTQTte2l8BlXa8IBOOVQv7rvR9YcHJoWlrGpO/MMW3vuuHaRYuJGQHE7WDELSD6Ls/Ss0e+oKJe1NNcEcdjDdV56ri5WS6+TKtJo6CQbmME50/RlB2MYKQxdrWdXPeeWOF6PkAPPrS3l8iocT/UWhQnBYFuxVIQtmTDkFTfBNTScICViCBDCGm1S5HKkFWiRKmuoT/cuiMbFfQPCzTKUPf+j5v0gZtXAkXpm9s9mlEjnV5PyS9HZ+cB0gkJWZD0VwH3zBbXnYMdIFzV15kJmEinw3rThWiXwCEsgTGnDFtYRD2di+IRlDK2Ab4HBq3yKQGB0nVH3pCVVUGfLFwxp3N1Z2Oic81/fA9P0fyAfIX22fNodQWuE5cbUMddStfz2kixJO+kV3H4AyA/wsOqCNvIOybETrJ2oqGxL/um98jCzoZUJ6TMTTNNWVMrSY+KZLJ8ae+yu/n0lz1R2GiQY4LnIOdX7vmRfSvCroOlXFLDkJO0tCptkE/t/qMCHpYIYq1J1t/5tVq92oPHvE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR06MB4461.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(7416014)(376014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rD91u3gQUJtMYZyBzT2TPULXjg9LJblEdDrR3lGT71kEc4DTlShaJV34txuQTH9HyKgzJ+EkD/TSAUT55/zwMp2hYUKHsgwTGMt5xvMSbdQmPhmWj/H8D9mP7YKkVCepuyOZLUz4RfOBl9W+3qn7p84Rf//Hm/e0ClvtZw8j46RIzVAlmtd4YaVoLQxm16YVzd6LInBnGV0gROEht37pXb93ybAYu4krxGuQQE3ljbTaHV6yhJvDsD5LwtNcRejdh9uIrQq/SEIhu4jhrUE9SjDY8qOKs6Y9cUrCXptXw7XEJLJoOOtKhP1ZMHkQINOfDXnhhgDiga8wNzryoTyWTv72aiFDqlAQrXHZllcHuUeFsqZHIm2D/L4SlpiavHbctUPUBi4qYZ3kWfi0prppcrOQml0V57l+0cGbDXXXPccMCwCXpu8rj5dibB3HnymVxzx1b354U8A54B4cYJ1Js+xyvW2jDOoZ3bJEMPvRLCMZBOmUAtbqbZsT5ISN+WhEsdkhIM0hMtRufdIl+tisHWLJYupjK0iMXNQk70YlwtY9yAa+SfrNQin08BlJ9SFvzIzYBax2twNChfwnv/qBLJY1AKGgm4xuUf9BXe1dWJVaQiPT8cj9zHhVZlg8PZ1wM9YKqHcRfLnd+ByCGoK7j7P7UEiRyay8uhsqOGk1mpg/XvCGoXMCAqvmdoGAyYHxZnT1BTGrTg1428HOtjSDk3Xe/bnyhQPrFngWXU+LBkUrKa5lifiCOlenaRPEiB/zm38xowy2MfpQ9MfQNl/AJJgaT97eYGN27oHOtY2pRN0c6resj2gZMLdPmfUpN2GI9oxQaWnMqc5upCloTsyJOB+pjwCWlNSw5CwYwspE72pmWioo5+NYFEv10YOXJFeV3B7nUdDQx7BbkImKQBknoTgdddB2Jeulm1bk6iMxe3d5Kdxt7zVjINby65+s2wOiakMvOmld6rJQ+KHWjzAX6gazWr2baax91TcbbU9POuQhLHzC9N77Q/7Fy/61DMaP9eD7Gk1wlWKgah2McHBDbM2Wb+Vrr9rog0fHSMy5F+CvbYB8zKP5gruENp2q6EI/TKvt0PS4C0CJPjd/z6eU9PQqgU62LJIluw6zJbi4kTM8RzK5514MDft26kgdwjyZMLCbLvfXIvqn9biFRn69Mo5hhQsiCtrvfRopQ92gNoTL42g3SUPg+2i1cszfqELxoZVWUJNZEgA6lqjXkKx+NkK1yLcXh//A1hBBOtFUmnQbG4LyJlNlEceYC6vXPYla4ZG03QuGB2evXxVwJgmxflKDoFK4XUIlQ7FmX6RYpUn8k1aGuMG+fWQyAl79VRwVUVdEqn04kUEnKrMCy3Aw/B/XuuIptaYVWHqWgsAQR3GzpxNW3/jbZMmu8fdL1Ez/fBVfZoH8qfD7/7Qakns2ZDsMnOAMw5WrnoEdzdNep8uodjFWiZ/yFtPATa0STzUIfBJZ4nGj//DEoMlyGdnQi5tDM2RboymsemuIB1/AWQccDCd4kLVqVbZHrkWMoXtA9ZvhqfG9AXGKK6GW/dQHOWV0OmWRxJKGXr0CEGHIoSreTz1WikEWOpXF9O3SHJLo X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a61a54a-0c89-43a9-52f5-08dcdddd8f4c X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4461.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2024 03:44:44.3118 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PrZnQPwGOQbCSfknG8euIAYxfUXs7CfUo0VFBAC4ce0Q14kM+g2hHx6+pVZdRDz8JOwlo0oWY6VdrTZIyETvJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB5693 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_204456_620249_6AAE7BB5 X-CRM114-Status: GOOD ( 19.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This commit fixes several typographical errors in comments within the drivers/iio/adc directory. No functional changes are made. Detected using codespell. Signed-off-by: Yu Jiaoliang --- drivers/iio/adc/ad7091r-base.h | 2 +- drivers/iio/adc/ad7606.h | 2 +- drivers/iio/adc/ad7887.c | 2 +- drivers/iio/adc/ad_sigma_delta.c | 4 ++-- drivers/iio/adc/max34408.c | 2 +- drivers/iio/adc/pac1921.c | 2 +- drivers/iio/adc/palmas_gpadc.c | 2 +- drivers/iio/adc/ti-ads1298.c | 2 +- drivers/iio/adc/ti_am335x_adc.c | 2 +- drivers/iio/adc/twl4030-madc.c | 2 +- drivers/iio/adc/xilinx-xadc-events.c | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/iio/adc/ad7091r-base.h b/drivers/iio/adc/ad7091r-base.h index 696bf7a897bb..092ddea0f395 100644 --- a/drivers/iio/adc/ad7091r-base.h +++ b/drivers/iio/adc/ad7091r-base.h @@ -65,7 +65,7 @@ struct ad7091r_state { struct regulator *vref; const struct ad7091r_chip_info *chip_info; enum ad7091r_mode mode; - struct mutex lock; /*lock to prevent concurent reads */ + struct mutex lock; /*lock to prevent concurrent reads */ __be16 tx_buf __aligned(IIO_DMA_MINALIGN); __be16 rx_buf; }; diff --git a/drivers/iio/adc/ad7606.h b/drivers/iio/adc/ad7606.h index 6649e84d25de..02195bedb574 100644 --- a/drivers/iio/adc/ad7606.h +++ b/drivers/iio/adc/ad7606.h @@ -46,7 +46,7 @@ * oversampling ratios. * @oversampling_num number of elements stored in oversampling_avail array * @os_req_reset some devices require a reset to update oversampling - * @init_delay_ms required delay in miliseconds for initialization + * @init_delay_ms required delay in milliseconds for initialization * after a restart */ struct ad7606_chip_info { diff --git a/drivers/iio/adc/ad7887.c b/drivers/iio/adc/ad7887.c index b301da9b88b1..69add1dc4b53 100644 --- a/drivers/iio/adc/ad7887.c +++ b/drivers/iio/adc/ad7887.c @@ -41,7 +41,7 @@ enum ad7887_channels { }; /** - * struct ad7887_chip_info - chip specifc information + * struct ad7887_chip_info - chip specific information * @int_vref_mv: the internal reference voltage * @channels: channels specification * @num_channels: number of channels diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c index e2bed2d648f2..e30c7f8fcbec 100644 --- a/drivers/iio/adc/ad_sigma_delta.c +++ b/drivers/iio/adc/ad_sigma_delta.c @@ -469,7 +469,7 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p) /* * Data array after transfer will look like (if status is appended): * data[] = { [0][sample][sample][sample][status] } - * Keeping the first byte 0 shifts the status postion by 1 byte to the right. + * Keeping the first byte 0 shifts the status position by 1 byte to the right. */ status_pos = reg_size + 1; @@ -656,7 +656,7 @@ int ad_sd_init(struct ad_sigma_delta *sigma_delta, struct iio_dev *indio_dev, sigma_delta->spi = spi; sigma_delta->info = info; - /* If the field is unset in ad_sigma_delta_info, asume there can only be 1 slot. */ + /* If the field is unset in ad_sigma_delta_info, assume there can only be 1 slot. */ if (!info->num_slots) sigma_delta->num_slots = 1; else diff --git a/drivers/iio/adc/max34408.c b/drivers/iio/adc/max34408.c index ffec22be2d59..971e6e5dee9b 100644 --- a/drivers/iio/adc/max34408.c +++ b/drivers/iio/adc/max34408.c @@ -161,7 +161,7 @@ static int max34408_read_raw(struct iio_dev *indio_dev, return IIO_VAL_INT; case IIO_CHAN_INFO_SCALE: /* - * calcluate current for 8bit ADC with Rsense + * calculate current for 8bit ADC with Rsense * value. * 10 mV * 1000 / Rsense uOhm = max current * (max current * adc val * 1000) / (2^8 - 1) mA diff --git a/drivers/iio/adc/pac1921.c b/drivers/iio/adc/pac1921.c index 4c2a1c07bc39..c49175f2c0b7 100644 --- a/drivers/iio/adc/pac1921.c +++ b/drivers/iio/adc/pac1921.c @@ -1077,7 +1077,7 @@ static int pac1921_init(struct pac1921_priv *priv) /* * Init control register: * - VPower free run integration mode - * - OUT pin full scale range: 3V (HW detault) + * - OUT pin full scale range: 3V (HW default) * - no timeout, no sleep, no sleep override, no recalc (HW defaults) */ val = FIELD_PREP(PAC1921_CONTROL_MXSL_MASK, diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c index 203cbbc70719..67d567ee21b4 100644 --- a/drivers/iio/adc/palmas_gpadc.c +++ b/drivers/iio/adc/palmas_gpadc.c @@ -456,7 +456,7 @@ static int palmas_gpadc_get_calibrated_code(struct palmas_gpadc *adc, * raw high threshold = (ideal threshold + INL) * gain error + offset error * * The gain error include both gain error, as specified in the datasheet, and - * the gain error drift. These paramenters vary depending on device and whether + * the gain error drift. These parameters vary depending on device and whether * the channel is calibrated (trimmed) or not. */ static int palmas_gpadc_threshold_with_tolerance(int val, const int INL, diff --git a/drivers/iio/adc/ti-ads1298.c b/drivers/iio/adc/ti-ads1298.c index 13cb32125eef..a6432ef1fa90 100644 --- a/drivers/iio/adc/ti-ads1298.c +++ b/drivers/iio/adc/ti-ads1298.c @@ -294,7 +294,7 @@ static int ads1298_get_scale(struct ads1298_private *priv, if (ret) return ret; - /* Refererence in millivolts */ + /* Reference in millivolts */ *val = regval & ADS1298_MASK_CONFIG3_VREF_4V ? 4000 : 2400; } diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c index 426e3c9f88a1..d362eba6cd7c 100644 --- a/drivers/iio/adc/ti_am335x_adc.c +++ b/drivers/iio/adc/ti_am335x_adc.c @@ -494,7 +494,7 @@ static int tiadc_read_raw(struct iio_dev *indio_dev, /* * We check the complete FIFO. We programmed just one entry but in case * something went wrong we left empty handed (-EAGAIN previously) and - * then the value apeared somehow in the FIFO we would have two entries. + * then the value appeared somehow in the FIFO we would have two entries. * Therefore we read every item and keep only the latest version of the * requested channel. */ diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c index 0253064fadec..563478e9c5eb 100644 --- a/drivers/iio/adc/twl4030-madc.c +++ b/drivers/iio/adc/twl4030-madc.c @@ -248,7 +248,7 @@ static const struct s16_fract twl4030_divider_ratios[16] = { {15, 100}, /* CHANNEL 11 */ {1, 4}, /* CHANNEL 12 */ {1, 1}, /* CHANNEL 13 Reserved channels */ - {1, 1}, /* CHANNEL 14 Reseved channels */ + {1, 1}, /* CHANNEL 14 Reserved channels */ {5, 11}, /* CHANNEL 15 */ }; diff --git a/drivers/iio/adc/xilinx-xadc-events.c b/drivers/iio/adc/xilinx-xadc-events.c index 1bd375fb10e0..90f62377c34d 100644 --- a/drivers/iio/adc/xilinx-xadc-events.c +++ b/drivers/iio/adc/xilinx-xadc-events.c @@ -220,7 +220,7 @@ int xadc_write_event_value(struct iio_dev *indio_dev, /* * Since we store the hysteresis as relative (to the threshold) * value, but the hardware expects an absolute value we need to - * recalcualte this value whenever the hysteresis or the + * recalculate this value whenever the hysteresis or the * threshold changes. */ if (xadc->threshold[offset] < xadc->temp_hysteresis)