Skip to content

Commit 63cf6ca

Browse files
committed
thermal: Drop spaces before TABs
JIRA: https://issues.redhat.com/browse/RHEL-61357 commit f492d82 Author: Geert Uytterhoeven <[email protected]> Date: Thu Feb 15 13:51:19 2024 +0100 thermal: Drop spaces before TABs There is never a need to have a space before a TAB, but it hurts the eyes of vim users. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/480478a53fd42621e97b2db36e181903cc0f53e3.1708001426.git.geert+renesas@glider.be Signed-off-by: David Arcari <[email protected]>
1 parent da6d719 commit 63cf6ca

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

drivers/thermal/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
4343
obj-$(CONFIG_RZG2L_THERMAL) += rzg2l_thermal.o
4444
obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
4545
obj-y += samsung/
46-
obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
46+
obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
4747
obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
4848
obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
4949
obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o

drivers/thermal/st/st_thermal.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ struct st_thermal_sensor;
3838
*
3939
* @power_ctrl: Function for powering on/off a sensor. Clock to the
4040
* sensor is also controlled from this function.
41-
* @alloc_regfields: Allocate regmap register fields, specific to a sensor.
42-
* @do_memmap_regmap: Memory map the thermal register space and init regmap
41+
* @alloc_regfields: Allocate regmap register fields, specific to a sensor.
42+
* @do_memmap_regmap: Memory map the thermal register space and init regmap
4343
* instance or find regmap instance.
44-
* @register_irq: Register an interrupt handler for a sensor.
44+
* @register_irq: Register an interrupt handler for a sensor.
4545
*/
4646
struct st_thermal_sensor_ops {
4747
int (*power_ctrl)(struct st_thermal_sensor *, enum st_thermal_power_state);
@@ -56,15 +56,15 @@ struct st_thermal_sensor_ops {
5656
*
5757
* @reg_fields: Pointer to the regfields array for a sensor.
5858
* @sys_compat: Pointer to the syscon node compatible string.
59-
* @ops: Pointer to private thermal ops for a sensor.
60-
* @calibration_val: Default calibration value to be written to the DCORRECT
59+
* @ops: Pointer to private thermal ops for a sensor.
60+
* @calibration_val: Default calibration value to be written to the DCORRECT
6161
* register field for a sensor.
62-
* @temp_adjust_val: Value to be added/subtracted from the data read from
62+
* @temp_adjust_val: Value to be added/subtracted from the data read from
6363
* the sensor. If value needs to be added please provide a
6464
* positive value and if it is to be subtracted please
65-
* provide a negative value.
66-
* @crit_temp: The temperature beyond which the SoC should be shutdown
67-
* to prevent damage.
65+
* provide a negative value.
66+
* @crit_temp: The temperature beyond which the SoC should be shutdown
67+
* to prevent damage.
6868
*/
6969
struct st_thermal_compat_data {
7070
char *sys_compat;

drivers/thermal/st/st_thermal_memmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static const struct reg_field st_mmap_thermal_regfields[MAX_REGFIELDS] = {
2727
* written simultaneously for powering on and off the temperature
2828
* sensor. regmap_update_bits() will be used to update the register.
2929
*/
30-
[INT_THRESH_HI] = REG_FIELD(STIH416_MPE_INT_THRESH, 0, 7),
30+
[INT_THRESH_HI] = REG_FIELD(STIH416_MPE_INT_THRESH, 0, 7),
3131
[DCORRECT] = REG_FIELD(STIH416_MPE_CONF, 5, 9),
3232
[OVERFLOW] = REG_FIELD(STIH416_MPE_STATUS, 9, 9),
3333
[DATA] = REG_FIELD(STIH416_MPE_STATUS, 11, 18),

drivers/thermal/thermal_of.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static void thermal_of_zone_unregister(struct thermal_zone_device *tz)
375375
* @ops: A set of thermal sensor ops
376376
*
377377
* Return: a valid thermal zone structure pointer on success.
378-
* - EINVAL: if the device tree thermal description is malformed
378+
* - EINVAL: if the device tree thermal description is malformed
379379
* - ENOMEM: if one structure can not be allocated
380380
* - Other negative errors are returned by the underlying called functions
381381
*/

0 commit comments

Comments
 (0)