From 1cc8bbb4ae272c826e7f998e2e6d5486b1ca8147 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Fri, 8 Feb 2019 13:20:21 -0800 Subject: [PATCH] doc: fix misspelling in kconfig doc Fix typos introduced by PR #13186 Signed-off-by: David B. Kinder --- doc/guides/kconfig/index.rst | 6 +++--- scripts/kconfig/kconfigfunctions.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/guides/kconfig/index.rst b/doc/guides/kconfig/index.rst index fdf005bfdc..09efc9c441 100644 --- a/doc/guides/kconfig/index.rst +++ b/doc/guides/kconfig/index.rst @@ -621,7 +621,7 @@ Device Tree Related Functions dt_int_val(kconf, _, name, unit): This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as an decimal integer. The + and if it's found it will return the value as an decimal integer. The function will divide the value based on 'unit': None No division 'k' or 'K' divide by 1024 (1 << 10) @@ -630,7 +630,7 @@ Device Tree Related Functions dt_hex_val(kconf, _, name, unit): This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as an hex integer. The + and if it's found it will return the value as an hex integer. The function will divide the value based on 'unit': None No division 'k' or 'K' divide by 1024 (1 << 10) @@ -639,7 +639,7 @@ Device Tree Related Functions dt_str_val(kconf, _, name): This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as string. if its not found we + and if it's found it will return the value as string. if it's not found we return an empty string. Example Usage diff --git a/scripts/kconfig/kconfigfunctions.py b/scripts/kconfig/kconfigfunctions.py index a6e9ab5d21..1e42b07d77 100644 --- a/scripts/kconfig/kconfigfunctions.py +++ b/scripts/kconfig/kconfigfunctions.py @@ -35,7 +35,7 @@ def _dt_units_to_scale(unit): def dt_int_val(kconf, _, name, unit=None): """ This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as an decimal integer. The + and if it's found it will return the value as an decimal integer. The function will divide the value based on 'unit': None No division 'k' or 'K' divide by 1024 (1 << 10) @@ -57,7 +57,7 @@ def dt_int_val(kconf, _, name, unit=None): def dt_hex_val(kconf, _, name, unit=None): """ This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as an hex integer. The + and if it's found it will return the value as an hex integer. The function will divide the value based on 'unit': None No division 'k' or 'K' divide by 1024 (1 << 10) @@ -79,7 +79,7 @@ def dt_hex_val(kconf, _, name, unit=None): def dt_str_val(kconf, _, name): """ This function looks up 'name' in the DTS generated "conf" style database - and if its found it will return the value as string. If its not found we + and if it's found it will return the value as string. If it's not found we return an empty string. """ if doc_mode or name not in dt_defines: