summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2025-12-01 12:47:53 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-01-21 06:24:37 +0300
commit0d38260c2a11de147f0c4701b344fdfa6bcdd04c (patch)
tree9b00f5e7ce8a66e1c790f2aa1c5f1a39942e7bb7 /include
parent7ad688c0cdc46d01fc46f6d226813715542c531e (diff)
downloadlinux-0d38260c2a11de147f0c4701b344fdfa6bcdd04c.tar.xz
zram: switch to guard() for init_lock
Use init_lock guard() in sysfs store/show handlers, in order to simplify and, more importantly, to modernize the code. While at it, fix up more coding styles. Link: https://lkml.kernel.org/r/20251201094754.4149975-7-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Brian Geffon <bgeffon@google.com> Cc: David Stevens <stevensd@google.com> Cc: Minchan Kim <minchan@google.com> Cc: Richard Chang <richardycc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions