]> git.baikalelectronics.ru Git - kernel.git/commit
PM: domains: Add curly braces to delimit comment + statement block
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Oct 2020 14:14:59 +0000 (16:14 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2020 15:42:50 +0000 (17:42 +0200)
commit04d7b96bd365c0eee56118d2119ed5b4a8cc89b3
tree62dea725524c60b3411b41376f3e29ae119cd700
parente926e8f04ac306522931353f4ea1cb4b5d1375cd
PM: domains: Add curly braces to delimit comment + statement block

There is not strict need to group a comment and a single statement in an
if block, as comments are stripped by the pre-processor.  However,
adding curly braces does make the code easier to read, and may avoid
mistakes when changing the code later.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c