regulator: max8997: Test pdata by NULL checking instead of IS_ERR_OR_NULL
authorAxel Lin <axel.lin@ingics.com>
Sat, 13 Apr 2013 14:05:43 +0000 (22:05 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Apr 2013 16:21:18 +0000 (17:21 +0100)
pdata is either a valid pointer or NULL, use NULL checking rather than
IS_ERR_OR_NULL macro.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found