drm/msm: use IS_ERR() to check regulator_get() return
authorFabian Frederick <fabf@skynet.be>
Mon, 4 May 2015 17:03:55 +0000 (19:03 +0200)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Jun 2015 17:11:04 +0000 (13:11 -0400)
commitbdc80de2a6dbaa0d08c393b4ba8912a0ad4b047f
tree87ef2c0d6b21f3739cbf80c6ab0e7691a6dbdbc5
parent73dbf69638b760ce62fe6df4cece983ef28abc13
drm/msm: use IS_ERR() to check regulator_get() return

regulator_get() never returns NULL. There's no need for IS_ERR_OR_NULL()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c