]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mailbox: Use guard/scoped_guard for spinlock
authorPeng Fan <peng.fan@nxp.com>
Fri, 11 Apr 2025 13:14:14 +0000 (21:14 +0800)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 26 May 2025 21:23:39 +0000 (16:23 -0500)
commit2149ec83ef7d273d35998903617422f1b3bd4846
treee49eb21793f63b4ef618ff5ec791f4d0f87fb63e
parent16da9a653c5bf5d97fb296420899fe9735aa9c3c
mailbox: Use guard/scoped_guard for spinlock

Use guard and scoped_guard for chan->lock and mbox->poll_hrt_lock to
simplify code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/mailbox.c