Skip to content

Commit 76510ec

Browse files
Colin Ian KingJonathan Cameron
authored andcommitted
counter: stm32: clean up indentation issue
There is an if statement that is indented one level too deeply, remove the extraneous tabs. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 3cfd646 commit 76510ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/counter/stm32-timer-cnt.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ static ssize_t stm32_count_enable_write(struct counter_device *counter,
219219

220220
if (enable) {
221221
regmap_read(priv->regmap, TIM_CR1, &cr1);
222-
if (!(cr1 & TIM_CR1_CEN))
223-
clk_enable(priv->clk);
222+
if (!(cr1 & TIM_CR1_CEN))
223+
clk_enable(priv->clk);
224224

225225
regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN,
226226
TIM_CR1_CEN);

0 commit comments

Comments
 (0)