Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1425400rdd; Wed, 10 Jan 2024 21:02:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvWf0UxBrKucxApQtH8SCjuni6NpwFwd/sZH/M/yTnMdvcCt4Po9ziaubRIrMl7YZmBla2 X-Received: by 2002:a05:6512:2009:b0:50e:6168:c99d with SMTP id a9-20020a056512200900b0050e6168c99dmr159851lfb.27.1704949343978; Wed, 10 Jan 2024 21:02:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704949343; cv=none; d=google.com; s=arc-20160816; b=slJIdRLEQDRd0GgtnObVK/BA7sC6nUDSV0phzj71ckCQi4BDXEFAJWuBJAo8hNfVFR h1lY7edqvkW5app6cp5i7pHuM/KUBM+ITKQ/8Y7AI4LLfXiQPowJ2vN1B4SwLl2szlim K91eYUoG6WaT8BKo3MV9JGAcJ/D+3lFkO3uga2fOqhrTkzsXEMLdwaEkBTVsLVyvcBw2 oJZygd+9QUWJit2fyk7wCECu0saXMZHa0SQxrASUZ+Fy7GA1lN2mq8+XUbKQ17PiWkCn a4WtPHSM1iHrpmsZKFV0yDWl07oVclPsTCm9dnECsM0aScyVCUKy+nQ9tLchpSc7uHT2 kMaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=VakOmylgNyNEDmz+1fBRiYUX60G7ppszezsqE84sRDM=; fh=cACCkDFgn88sP49WCBjv/3lsUOIzQe0Vt8yyZ+mRMzc=; b=UMpHXMezcoCVRiIF9jg/QtLz25r19sJ2JTCs27E016IpqlqUHk/vr3poX4KbTlocL9 FKOqhZm/8Wm8a8cn5CpoQU0OJqcY/zKqMKyNCUEEkRCQajgaLoi77oUjK4l4Q1iONG3v umFdMMcIDDv7XSEzAqlOe4ObWpktXi5PCVITtbx6OjMl5+oRgvxGI5E9MNd182SaN7lX DpaxOaU9FJhemd3W+g4EzCypiVU7+1Z1kDINP8rFEjsAeRMDZJPn342Ll8wkr8sl7qGI tRH3fg0MUB4X4qVjFb3U5UX6+xeBQ6V7Ol3VMXB8umB8ju8SyKl25tlBn/8GKf6tx4LY JBnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zSAiE6Oh; spf=pass (google.com: domain of linux-kernel+bounces-23066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23066-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f4-20020a17090624c400b00a28dcc30c58si143413ejb.504.2024.01.10.21.02.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 21:02:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=zSAiE6Oh; spf=pass (google.com: domain of linux-kernel+bounces-23066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23066-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B6A021F23BBA for ; Thu, 11 Jan 2024 05:02:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F1EC20FA; Thu, 11 Jan 2024 05:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="zSAiE6Oh" 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.subspace.kernel.org (Postfix) with ESMTPS id 239371FB0; Thu, 11 Jan 2024 05:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=VakOmylgNyNEDmz+1fBRiYUX60G7ppszezsqE84sRDM=; b=zSAiE6OhqLD5/745wEPqbFBvgW iAEPQfeG1ZrrsVlLkbKTfMhNXUT8yu3fmGg3pHcQ052/mk878Fl+Q9R6uhHOkcfC0vsMTx+QTYL1S k1kkqA5HT/swghMnhNvMTzDRksPlWNzw8afOtg8SPYHP6zBMhEtHL4VWXLHv5DNK7dYyx4K0E/R7I V4/5NYRkGlsVKOepvvkfTmfvW4U2s4PIhsTZ+hee28utrOJrVJjbur9DwN7VPsai6hLWkPV4m3xAm XFOZUR5+kGVd/5s4TnM0GanR+K3owrrrCGSWr5PZ+Do4fnWivgF29HmP69BbX2Xtrgrt3HdB99/Mk xuxwHoMA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rNnCf-00Fssh-2E; Thu, 11 Jan 2024 05:02:05 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Eduardo Valentin , Keerthy , linux-omap@vger.kernel.org, "Rafael J . Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org Subject: [PATCH] thermal/ti-soc-thermal: fix spelling and kernel-doc Date: Wed, 10 Jan 2024 21:02:05 -0800 Message-ID: <20240111050205.2941-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix spelling mistakes as reported by codespell. Fix all kernel-doc warnings. Signed-off-by: Randy Dunlap Cc: Eduardo Valentin Cc: Keerthy Cc: linux-omap@vger.kernel.org Cc: Rafael J. Wysocki Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org --- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 14 +++++++------- drivers/thermal/ti-soc-thermal/ti-bandgap.h | 6 ++++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff -- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c @@ -332,7 +332,7 @@ static inline int ti_bandgap_validate(st * ti_bandgap_read_counter() - read the sensor counter * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: resulting update interval in miliseconds + * @interval: resulting update interval in milliseconds */ static void ti_bandgap_read_counter(struct ti_bandgap *bgp, int id, int *interval) @@ -352,7 +352,7 @@ static void ti_bandgap_read_counter(stru * ti_bandgap_read_counter_delay() - read the sensor counter delay * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: resulting update interval in miliseconds + * @interval: resulting update interval in milliseconds */ static void ti_bandgap_read_counter_delay(struct ti_bandgap *bgp, int id, int *interval) @@ -394,7 +394,7 @@ static void ti_bandgap_read_counter_dela * ti_bandgap_read_update_interval() - read the sensor update interval * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: resulting update interval in miliseconds + * @interval: resulting update interval in milliseconds * * Return: 0 on success or the proper error code */ @@ -427,7 +427,7 @@ exit: * ti_bandgap_write_counter_delay() - set the counter_delay * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: desired update interval in miliseconds + * @interval: desired update interval in milliseconds * * Return: 0 on success or the proper error code */ @@ -471,7 +471,7 @@ static int ti_bandgap_write_counter_dela * ti_bandgap_write_counter() - set the bandgap sensor counter * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: desired update interval in miliseconds + * @interval: desired update interval in milliseconds */ static void ti_bandgap_write_counter(struct ti_bandgap *bgp, int id, u32 interval) @@ -486,7 +486,7 @@ static void ti_bandgap_write_counter(str * ti_bandgap_write_update_interval() - set the update interval * @bgp: pointer to bandgap instance * @id: sensor id - * @interval: desired update interval in miliseconds + * @interval: desired update interval in milliseconds * * Return: 0 on success or the proper error code */ @@ -871,7 +871,7 @@ static struct ti_bandgap *ti_bandgap_bui } /* - * List of SoCs on which the CPU PM notifier can cause erros on the DTEMP + * List of SoCs on which the CPU PM notifier can cause errors on the DTEMP * readout. * Enabled notifier on these machines results in erroneous, random values which * could trigger unexpected thermal shutdown. diff -- a/drivers/thermal/ti-soc-thermal/ti-bandgap.h b/drivers/thermal/ti-soc-thermal/ti-bandgap.h --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.h +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.h @@ -189,8 +189,10 @@ struct temp_sensor_regval { * @div_clk: pointer to divider clock of temperature sensor fclk * @lock: spinlock for ti_bandgap structure * @irq: MPU IRQ number for thermal alert - * @tshut_gpio: GPIO where Tshut signal is routed + * @tshut_gpiod: GPIO where Tshut signal is routed * @clk_rate: Holds current clock rate + * @nb: notifier block + * @is_suspended: set if the bandgap device is suspended * * The bandgap device structure representing the bandgap device instance. * It holds most of the dynamic stuff. Configurations and sensor specific @@ -276,7 +278,7 @@ struct ti_temp_sensor { * TI_BANDGAP_FEATURE_HISTORY_BUFFER - used when the bandgap device features * a history buffer of temperatures. * - * TI_BANDGAP_FEATURE_ERRATA_814 - used to workaorund when the bandgap device + * TI_BANDGAP_FEATURE_ERRATA_814 - used to workaround when the bandgap device * has Errata 814 * TI_BANDGAP_FEATURE_UNRELIABLE - used when the sensor readings are too * inaccurate.