arm: exynos: Use proper ADC device name 66/233566/4
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 14 Jan 2020 14:04:20 +0000 (15:04 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 22 May 2020 01:50:10 +0000 (10:50 +0900)
commit07de23862feeed22af325845dff840e867a21880
treef8ef81be01c8fde4c05eb519e899d3f904340230
parent9e976c21a7ad721fcc02eb60d5d92fb661966b16
arm: exynos: Use proper ADC device name

Since commit 4213609cc7 ("drivers: core: use strcmp when find device by
name") one has to provide full name to get requested object. Fix the code
used to detect Odroid board revision to use proper ADC device name then.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
[backport of mainline commit fa06669d0181b2c92ba86fb6c40a4cb0c196b13c]

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I2f7bda9d69826b38fd6d3a193876b3fe502d8859
board/samsung/common/exynos5-dt-types.c