]> git.baikalelectronics.ru Git - kernel.git/commit
phy: exynos-mipi-video: Fixup the test for state->regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 26 Feb 2015 03:48:08 +0000 (11:48 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 4 Mar 2015 13:01:48 +0000 (18:31 +0530)
commit7483ab79340afc0c0f642ba0dc12b3eb6661fe25
tree8e5a3f9cf2bacf55f5afe6aa1a222c597aabe284
parentfd5645f171e3c7115f9e73194c1a3e3e40ac3bba
phy: exynos-mipi-video: Fixup the test for state->regmap

syscon_regmap_lookup_by_phandle() returns ERR_PTR on error.
Thus don't use null test against state->regmap.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-mipi-video.c