lib: sbi: simplify inline function in sbi_dtbr.c
authorXiang W <wxjstz@126.com>
Fri, 3 May 2024 13:53:38 +0000 (21:53 +0800)
committerAnup Patel <anup@brainfault.org>
Mon, 13 May 2024 11:20:49 +0000 (16:50 +0530)
commit1cb792d606d99fb9574160da1815d6b8b4e366ac
tree15179faf91e36cd401304d08dab63a805d68167a
parent7b37da3cb03e7f75e5834947016aab592498fc9a
lib: sbi: simplify inline function in sbi_dtbr.c

The inline function can simplify the code by setting some call
restrictions. This ensures logical smoothness

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_dbtr.c