Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: ir-spi: Unify indentation and comment style

Unify the indentation and multi-line comment style.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Andy Shevchenko and committed by
Hans Verkuil
888eefd9 3f82a462

+5 -7
+5 -7
drivers/media/rc/ir-spi.c
··· 36 36 struct regulator *regulator; 37 37 }; 38 38 39 - static int ir_spi_tx(struct rc_dev *dev, 40 - unsigned int *buffer, unsigned int count) 39 + static int ir_spi_tx(struct rc_dev *dev, unsigned int *buffer, unsigned int count) 41 40 { 42 41 int i; 43 42 int ret; ··· 56 57 return -EINVAL; 57 58 58 59 /* 59 - * the first value in buffer is a pulse, so that 0, 2, 4, ... 60 + * The first value in buffer is a pulse, so that 0, 2, 4, ... 60 61 * contain a pulse duration. On the contrary, 1, 3, 5, ... 61 62 * contain a space duration. 62 63 */ ··· 145 146 if (ret) 146 147 dc = 50; 147 148 148 - /* ir_spi_set_duty_cycle cannot fail, 149 - * it returns int to be compatible with the 150 - * rc->s_tx_duty_cycle function 149 + /* 150 + * ir_spi_set_duty_cycle() cannot fail, it returns int 151 + * to be compatible with the rc->s_tx_duty_cycle function. 151 152 */ 152 153 ir_spi_set_duty_cycle(idata->rc, dc); 153 154 ··· 176 177 .of_match_table = ir_spi_of_match, 177 178 }, 178 179 }; 179 - 180 180 module_spi_driver(ir_spi_driver); 181 181 182 182 MODULE_AUTHOR("Andi Shyti <andi@etezian.org>");