]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: optee: simplify OP-TEE context match
authorRouven Czerwinski <rouven.czerwinski@linaro.org>
Mon, 26 Jan 2026 10:11:26 +0000 (11:11 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 20 Feb 2026 22:12:10 +0000 (23:12 +0100)
commitd1f64cdfafdbd3fe220a59b85f13e125f49ce73e
tree579e7d1a0ae13626938d48d0dc314a05d2096394
parent81be22cd4ace020045cc6d31255c6f7c071eb7c0
rtc: optee: simplify OP-TEE context match

Simplify the TEE implementor ID match by returning the boolean
expression directly instead of going through an if/else.

Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>
Link: https://patch.msgid.link/20260126-optee-simplify-context-match-v1-3-d4104e526cb6@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-optee.c