From: Haojian Zhuang Date: Mon, 17 Sep 2012 04:19:07 +0000 (+0800) Subject: mfd: 88pm860x: Avoid to check resource for preg regulator X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~14^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff13e9e256d49a478b34da3dc380af41e0b9175f;p=pandora-kernel.git mfd: 88pm860x: Avoid to check resource for preg regulator 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed