diff options
author | Pavel Machek <pavel@ucw.cz> | 2022-09-27 00:16:37 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-09-27 00:16:37 +0300 |
commit | 4d1632151bde847230a0bd2318806380d309655f (patch) | |
tree | 4ce0af7677aab175b93791766964f6b3f6a60566 /Documentation | |
parent | 31fd7108302388d732973c58470d4be559d352ec (diff) | |
download | linux-4d1632151bde847230a0bd2318806380d309655f.tar.xz |
leds: pca963: fix misleading indentation
I'm getting warnings:
/tmp/next/build/drivers/leds/leds-pca963x.c: In function 'pca963x_register_leds':
/tmp/next/build/drivers/leds/leds-pca963x.c:355:3: error: this 'if' clause does not guard...
+[-Werror=misleading-indentation]
355 | if (hw_blink)
| ^~
/tmp/next/build/drivers/leds/leds-pca963x.c:357:4: note: ...this statement, but the latter is
+misleadingly indented as if it were guarded by the 'if'
357 | led->blinking = false;
| ^~~
cc1: all warnings being treated as errors
Fix the indentation to make them go away.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions