]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: sh: minor fixes to adhere to coding style
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 27 Feb 2025 13:43:03 +0000 (14:43 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 8 Apr 2025 13:56:19 +0000 (15:56 +0200)
commit8003a5585fc8466b22e000204d29cf2fa5e21e3a
treeab56af024c2e81aac0634dd64f6ccc03f13b38e6
parentea59ad0ca975841ea490315d886a612520e9e9da
rtc: sh: minor fixes to adhere to coding style

Use the BIT macro, use curly braces for else-blocks, don't split strings
over multiple lines, annotate the lock, update copyright.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250227134256.9167-18-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sh.c