lib: sbi: Remove 0/1 probe implementations
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 15 May 2023 11:12:39 +0000 (13:12 +0200)
committerAnup Patel <anup@brainfault.org>
Sun, 21 May 2023 11:24:00 +0000 (16:54 +0530)
commitc3e31cbf364e1c47392e57d31d055193946e866e
treeb880a5fd053d34ca65b8afec0767206fa5eb36e7
parent767b5fc4180a883497c081a95bb861a68651e9a6
lib: sbi: Remove 0/1 probe implementations

When a probe implementation just returns zero for not available and
one for available then we don't need it, as the extension won't be
registered at all if it would return zero and the Base extension
probe function will already set out_val to 1 if not probe function
is implemented. Currently all probe functions only return zero or
one, so remove them all.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_ecall_cppc.c
lib/sbi/sbi_ecall_dbcn.c
lib/sbi/sbi_ecall_srst.c
lib/sbi/sbi_ecall_susp.c