arm: exynos: Use proper ADC device name
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 14 Jan 2020 14:04:20 +0000 (15:04 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 23 Jan 2020 02:41:49 +0000 (11:41 +0900)
commitfa06669d0181b2c92ba86fb6c40a4cb0c196b13c
tree75229fc20deb208244ce69bc8184c848dae5977f
parenta6ee3fe19d8bdf369edbd9301eb2be283458b920
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>
board/samsung/common/exynos5-dt-types.c