doc: fix misspelling in kconfig doc

Fix typos introduced by PR #13186

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2019-02-08 13:20:21 -08:00 committed by Kumar Gala
parent 4433041da4
commit 1cc8bbb4ae
2 changed files with 6 additions and 6 deletions

View file

@ -621,7 +621,7 @@ Device Tree Related Functions
dt_int_val(kconf, _, name, unit): dt_int_val(kconf, _, name, unit):
This function looks up 'name' in the DTS generated "conf" style database 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': function will divide the value based on 'unit':
None No division None No division
'k' or 'K' divide by 1024 (1 << 10) 'k' or 'K' divide by 1024 (1 << 10)
@ -630,7 +630,7 @@ Device Tree Related Functions
dt_hex_val(kconf, _, name, unit): dt_hex_val(kconf, _, name, unit):
This function looks up 'name' in the DTS generated "conf" style database 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': function will divide the value based on 'unit':
None No division None No division
'k' or 'K' divide by 1024 (1 << 10) 'k' or 'K' divide by 1024 (1 << 10)
@ -639,7 +639,7 @@ Device Tree Related Functions
dt_str_val(kconf, _, name): dt_str_val(kconf, _, name):
This function looks up 'name' in the DTS generated "conf" style database 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. return an empty string.
Example Usage Example Usage

View file

@ -35,7 +35,7 @@ def _dt_units_to_scale(unit):
def dt_int_val(kconf, _, name, unit=None): def dt_int_val(kconf, _, name, unit=None):
""" """
This function looks up 'name' in the DTS generated "conf" style database 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': function will divide the value based on 'unit':
None No division None No division
'k' or 'K' divide by 1024 (1 << 10) '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): def dt_hex_val(kconf, _, name, unit=None):
""" """
This function looks up 'name' in the DTS generated "conf" style database 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': function will divide the value based on 'unit':
None No division None No division
'k' or 'K' divide by 1024 (1 << 10) '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): def dt_str_val(kconf, _, name):
""" """
This function looks up 'name' in the DTS generated "conf" style database 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. return an empty string.
""" """
if doc_mode or name not in dt_defines: if doc_mode or name not in dt_defines: