mfd: 88pm860x: Avoid to check resource for preg regulator
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Mon, 17 Sep 2012 04:19:07 +0000 (12:19 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 19 Sep 2012 10:39:13 +0000 (12:39 +0200)
Since PREG regulator is the only one regulator in 88PM8606, and other
regulators are in 88PM8607. Checking resource as identifying regulator
is not a good way. We can use NULL resource to indentify PREG regulator.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found