imx: Rewrite display5 get_board_id() function to use dm_gpio_* API
authorLukasz Majewski <lukma@denx.de>
Tue, 3 Sep 2019 14:38:50 +0000 (16:38 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commit45aac6dd7afe73be69ab432c06eb97f9920c491f
treed7077e92e14e42d0aa4be1f5824b0c0b36483f29
parentfeeff1567f1e98775b1b0070b106ecc09059ecc1
imx: Rewrite display5 get_board_id() function to use dm_gpio_* API

The get_board_id() function was using the old gpio_* compatibility layer
to read HW and SW ID numbers encoded on the PCB board.

After this change the new dm_gpio* API is used for this purpose.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
board/liebherr/display5/display5.c