From patchwork Tue Jan 31 10:26:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 50770 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2676864wrn; Tue, 31 Jan 2023 02:42:32 -0800 (PST) X-Google-Smtp-Source: AK7set+AEiL7S4ApaPTsz4yLS/5jc1yoCCBz4c8aug50J588t8V2b31m2/S6IWfun5iYK4VOdXvo X-Received: by 2002:a17:906:11d2:b0:84d:43c3:a897 with SMTP id o18-20020a17090611d200b0084d43c3a897mr2938305eja.2.1675161752002; Tue, 31 Jan 2023 02:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675161751; cv=none; d=google.com; s=arc-20160816; b=kKY4cLrutKqsTaSugfeJSG/gf7JNa1EQcmAkcsC7Gt+vXy+eL/0GuUrG/ibLfQy/XA MNtZmpDFTkTqxslwUFlmcwHP5I1bb6LozYoXuVXqbRQmZ3St8l7DxsqqYy+kFJk+DRFQ 3JYp+c5M0ebhMlKZQUG8UGdoyeW4yUSAiiyXTwFnNfDdpzOSOQ6x/xbFxvIiytiNKdJd w/KjO17W0x2Ckasc3fbOMb2K/wyXYeSIGo1zhJXDWEX5i2A5nOKDoSEYpoGNBDf4U3DG cFRQ+nwxQc7zuLcVFQhGRR7wp5LVLO4ek5GH6LDnMMVQfSbIRguvB+lCoJH9F4CJvgDM QN+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vu4sIxOE7EZXOGccJ7T4JlH68DK94E8meHH2abDOsmA=; b=udlluhJsvbh23nkl1R6tIKBXj5dt222kD9Zoiv9jQIpvFXuwzPCm4Flx+iwpVXp6Bp /bg4efpou9qCMLLdauYvwAltyriIbxys248QA6oDBFtuj05nwz5/LCP/nIiM8rC5kFHt k+ckNlu+CCFp3Q6COAeR5aPTJ1LbRsQvc6kbCdwJanW4GUg305hhmJaCJB4zZPkRBYrJ 6lnP/3Rr+qTHOPMMVvIlEme+U+mOfPrZ3PIndPGPHAhrI7bRNIaxLc0bJUlTk+6ShGDJ oDtOZ06Bk0PpGzLPwueNHEeddI3nO/oysj2jP1Sr3x97gfQJdjKyBgoiSnJiwsTWs88T v4GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z23-20020a17090674d700b0083b6e04f33esi15988511ejl.280.2023.01.31.02.42.08; Tue, 31 Jan 2023 02:42:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbjAaK0m (ORCPT + 99 others); Tue, 31 Jan 2023 05:26:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjAaK0k (ORCPT ); Tue, 31 Jan 2023 05:26:40 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5643A17CD4 for ; Tue, 31 Jan 2023 02:26:37 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:fd54:3eff:f16a:8c82]) by baptiste.telenet-ops.be with bizsmtp id FNSa2900B3oGUMV01NSaDd; Tue, 31 Jan 2023 11:26:35 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1pMnqG-007vjW-8v; Tue, 31 Jan 2023 11:26:34 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1pMnqU-000NPv-6X; Tue, 31 Jan 2023 11:26:34 +0100 From: Geert Uytterhoeven To: "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] thermal: Drop spaces before TABs Date: Tue, 31 Jan 2023 11:26:32 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756534408953600095?= X-GMAIL-MSGID: =?utf-8?q?1756534408953600095?= There is never a need to have a space before a TAB, but they hurt the eyes of vim users. Signed-off-by: Geert Uytterhoeven --- drivers/thermal/Makefile | 2 +- drivers/thermal/st/st_thermal.h | 18 +++++++++--------- drivers/thermal/st/st_thermal_memmap.c | 2 +- drivers/thermal/st/st_thermal_syscfg.c | 2 +- drivers/thermal/thermal_of.c | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 60f0dfa9aae241df..d8f1ab250cb1a1f8 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -41,7 +41,7 @@ obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o obj-y += samsung/ -obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o +obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o diff --git a/drivers/thermal/st/st_thermal.h b/drivers/thermal/st/st_thermal.h index d661b2f2ef29f2c5..0e819ee93bbd54b0 100644 --- a/drivers/thermal/st/st_thermal.h +++ b/drivers/thermal/st/st_thermal.h @@ -38,10 +38,10 @@ struct st_thermal_sensor; * * @power_ctrl: Function for powering on/off a sensor. Clock to the * sensor is also controlled from this function. - * @alloc_regfields: Allocate regmap register fields, specific to a sensor. - * @do_memmap_regmap: Memory map the thermal register space and init regmap + * @alloc_regfields: Allocate regmap register fields, specific to a sensor. + * @do_memmap_regmap: Memory map the thermal register space and init regmap * instance or find regmap instance. - * @register_irq: Register an interrupt handler for a sensor. + * @register_irq: Register an interrupt handler for a sensor. */ struct st_thermal_sensor_ops { int (*power_ctrl)(struct st_thermal_sensor *, enum st_thermal_power_state); @@ -56,15 +56,15 @@ struct st_thermal_sensor_ops { * * @reg_fields: Pointer to the regfields array for a sensor. * @sys_compat: Pointer to the syscon node compatible string. - * @ops: Pointer to private thermal ops for a sensor. - * @calibration_val: Default calibration value to be written to the DCORRECT + * @ops: Pointer to private thermal ops for a sensor. + * @calibration_val: Default calibration value to be written to the DCORRECT * register field for a sensor. - * @temp_adjust_val: Value to be added/subtracted from the data read from + * @temp_adjust_val: Value to be added/subtracted from the data read from * the sensor. If value needs to be added please provide a * positive value and if it is to be subtracted please - * provide a negative value. - * @crit_temp: The temperature beyond which the SoC should be shutdown - * to prevent damage. + * provide a negative value. + * @crit_temp: The temperature beyond which the SoC should be shutdown + * to prevent damage. */ struct st_thermal_compat_data { char *sys_compat; diff --git a/drivers/thermal/st/st_thermal_memmap.c b/drivers/thermal/st/st_thermal_memmap.c index d68596c40be99009..7266d0d74fd8d3cf 100644 --- a/drivers/thermal/st/st_thermal_memmap.c +++ b/drivers/thermal/st/st_thermal_memmap.c @@ -27,7 +27,7 @@ static const struct reg_field st_mmap_thermal_regfields[MAX_REGFIELDS] = { * written simultaneously for powering on and off the temperature * sensor. regmap_update_bits() will be used to update the register. */ - [INT_THRESH_HI] = REG_FIELD(STIH416_MPE_INT_THRESH, 0, 7), + [INT_THRESH_HI] = REG_FIELD(STIH416_MPE_INT_THRESH, 0, 7), [DCORRECT] = REG_FIELD(STIH416_MPE_CONF, 5, 9), [OVERFLOW] = REG_FIELD(STIH416_MPE_STATUS, 9, 9), [DATA] = REG_FIELD(STIH416_MPE_STATUS, 11, 18), diff --git a/drivers/thermal/st/st_thermal_syscfg.c b/drivers/thermal/st/st_thermal_syscfg.c index 94efecf35cf83c2d..1106be5a1eded52e 100644 --- a/drivers/thermal/st/st_thermal_syscfg.c +++ b/drivers/thermal/st/st_thermal_syscfg.c @@ -35,7 +35,7 @@ static const struct reg_field st_415sas_regfields[MAX_REGFIELDS] = { [TEMP_PWR] = REG_FIELD(STIH415_SAS_THSENS_CONF, 9, 9), [DCORRECT] = REG_FIELD(STIH415_SAS_THSENS_CONF, 4, 8), [OVERFLOW] = REG_FIELD(STIH415_SAS_THSENS_STATUS, 8, 8), - [DATA] = REG_FIELD(STIH415_SAS_THSENS_STATUS, 10, 16), + [DATA] = REG_FIELD(STIH415_SAS_THSENS_STATUS, 10, 16), }; static const struct reg_field st_415mpe_regfields[MAX_REGFIELDS] = { diff --git a/drivers/thermal/thermal_of.c b/drivers/thermal/thermal_of.c index ff4d12ef51bcb6ed..8f4d5d671def1258 100644 --- a/drivers/thermal/thermal_of.c +++ b/drivers/thermal/thermal_of.c @@ -469,7 +469,7 @@ EXPORT_SYMBOL_GPL(thermal_of_zone_unregister); * @ops: A set of thermal sensor ops * * Return: a valid thermal zone structure pointer on success. - * - EINVAL: if the device tree thermal description is malformed + * - EINVAL: if the device tree thermal description is malformed * - ENOMEM: if one structure can not be allocated * - Other negative errors are returned by the underlying called functions */