summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/bluetooth.c')
-rw-r--r--src/ec/lenovo/h8/bluetooth.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ec/lenovo/h8/bluetooth.c b/src/ec/lenovo/h8/bluetooth.c
index 9e0b266a67..463e0e3332 100644
--- a/src/ec/lenovo/h8/bluetooth.c
+++ b/src/ec/lenovo/h8/bluetooth.c
@@ -48,10 +48,5 @@ bool h8_has_bdc(const struct device *dev)
*/
bool h8_bluetooth_nv_enable(void)
{
- u8 val;
-
- if (get_option(&val, "bluetooth") != CB_SUCCESS)
- return true;
-
- return val;
+ return get_int_option("bluetooth", true);
}