commit | f1c466512462210961b451bd45604e42bad3c243 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Tue Apr 06 09:57:54 2021 +0200 |
committer | Patrice Chotard <patrice.chotard@foss.st.com> | Fri Apr 09 11:53:00 2021 +0200 |
tree | ce50fdf428d67edd5dae8bd8b7616782af96c488 | |
parent | 643e40467a7ee42a5fc8ced9211d6c6891dfbc7a [diff] |
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 <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>