From patchwork Tue Mar 23 04:34:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhaskar Chowdhury X-Patchwork-Id: 12156891 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9014C433DB for ; Tue, 23 Mar 2021 04:35:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A43F96199F for ; Tue, 23 Mar 2021 04:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbhCWEfJ (ORCPT ); Tue, 23 Mar 2021 00:35:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbhCWEfA (ORCPT ); Tue, 23 Mar 2021 00:35:00 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5953C061574; Mon, 22 Mar 2021 21:34:59 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id t5so9858083qvs.5; Mon, 22 Mar 2021 21:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W098yLvagYSO9A4rP3vOMS7ghgfO5xcNeYh53cseJdc=; b=Zy5wxp0ZTHydAknLKeFU20M4bgDpcQRNfbsDhC0lRJSVo8hLFsIAKvdvkN3drmVT/o JsNAxYiIg8ydzaJjPuvgHA2N/gDCv4F+mGy20WVZwgaNghwiX087+wunDTFebeFxlDhj ULoLCFtU9nGiW2JCqKf3U1c2rC0iIGxbHDzobfwq8TaRU64tZ0MVZBtdLSne/wxvTrYY gJUQ5zki2QLAetxh+MFkowvhy934kMc3r+fKrQphuu7OYEnUHX6IfSunagjpVd7a7eiX uUoz6SOTBGx/ZmEhCJ+ZQzq3A7Jm1BUdYJeuNlWBilTw2jhKGFxDzvwEZOqc+eUOBfA4 bldg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W098yLvagYSO9A4rP3vOMS7ghgfO5xcNeYh53cseJdc=; b=i0zCovh2O/vOXHVwcgWGbE3ZKSuGDRC8ZOPcvE4MXVsg5tRrRYIQSJXu4F/VaZrVx/ kTvf+Ieg9MEY7dfQ9aqVfIZfiQpPkW956v6QvvxYbFT/UJHED28MRsbHNj79+k4EO89b SM4t3B+IkMdNbKbtt9Qd1AolFJhFtMP3aYfG/jnVcQtT6vxCUB4u4MTWUHyI2V0dngY3 4ty4ZIKuE/uU7JTee3BsQ87Qa6AAxJyDmto7QHI0HGZ6f3+cTqyqHbirPkR/G77iyXNQ Mg0DfPu+0VIq9rXivw9BZKrZx83FOiM51n/kPPg91WtM2gu/5Vl/cUrppoGkyvfJPaAh 2hMg== X-Gm-Message-State: AOAM532uWVmaIawSxpWouGAFcTOxyVqmxrnXfkuttSn4ouB8PAFfnPum jjoZNLsjnIUcPwmINBHdUzI= X-Google-Smtp-Source: ABdhPJw7ODDKafOUVKaaZ3KR2haoG6wrpunG/GfsBBVtWn/oO/zBql5bOnLObu65Q8Nj0yleMARTRA== X-Received: by 2002:ad4:45e4:: with SMTP id q4mr3039822qvu.11.1616474099282; Mon, 22 Mar 2021 21:34:59 -0700 (PDT) Received: from localhost.localdomain ([156.146.54.208]) by smtp.gmail.com with ESMTPSA id k7sm10142104qtm.10.2021.03.22.21.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 21:34:58 -0700 (PDT) From: Bhaskar Chowdhury To: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: rdunlap@infradead.org, Bhaskar Chowdhury Subject: [PATCH] hwmon: (ftsteutates): Rudimentary typo fixes Date: Tue, 23 Mar 2021 10:04:38 +0530 Message-Id: <20210323043438.1321903-1-unixbhaskar@gmail.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org s/Temprature/Temperature/ s/revsion/revision/ Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap --- drivers/hwmon/ftsteutates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.0 diff --git a/drivers/hwmon/ftsteutates.c b/drivers/hwmon/ftsteutates.c index ef88a156efc2..ceffc76a0c51 100644 --- a/drivers/hwmon/ftsteutates.c +++ b/drivers/hwmon/ftsteutates.c @@ -509,7 +509,7 @@ fan_alarm_store(struct device *dev, struct device_attribute *devattr, /* SysFS structs */ /*****************************************************************************/ -/* Temprature sensors */ +/* Temperature sensors */ static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_value, 0); static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_value, 1); static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_value, 2); @@ -713,7 +713,7 @@ static int fts_detect(struct i2c_client *client, { int val; - /* detection works with revsion greater or equal to 0x2b */ + /* detection works with revision greater or equal to 0x2b */ val = i2c_smbus_read_byte_data(client, FTS_DEVICE_REVISION_REG); if (val < 0x2b) return -ENODEV;