Skip to content
Snippets Groups Projects
Commit 2214d5e5 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Patrice Chotard
Browse files

stm32mp1: remove the board_check_usb_power function when ADC is not activated


Simplify the code of the function board_check_usb_power
based in CONFIG_ADC and adc_measurement; the function is removed by the
linker when the CONFIG_ADC is not activated.

Signed-off-by: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent cbea7b3e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment