random: selectively clang-format where it makes sense
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 15 Jan 2022 13:57:22 +0000 (14:57 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Jan 2022 17:37:36 +0000 (18:37 +0100)
commitb48e412a0b738f8fb970d64ce596eaa4415c6af7
tree78a8e2bc7aa666d0afdb4d5f19785e337390693b
parentaa64629f748c8d22e07313b5e6a16954293e24b4
random: selectively clang-format where it makes sense

This is an old driver that has seen a lot of different eras of kernel
coding style. In an effort to make it easier to code for, unify the
coding style around the current norm, by accepting some of -- but
certainly not all of -- the suggestions from clang-format. This should
remove ambiguity in coding style, especially with regards to spacing,
when code is being changed or amended. Consequently it also makes code
review easier on the eyes, following one uniform style rather than
several.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c