From: Axel Lin Date: Mon, 26 Jan 2015 02:25:13 +0000 (+0800) Subject: regulator: lp872x: Remove **regulators from struct lp872x X-Git-Tag: fixes-v4.0-rc1~183^2~2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8538c4075e8fab89e23d35cf27cd5e7e33f7e71e;p=pandora-kernel.git regulator: lp872x: Remove **regulators from struct lp872x Current code is using devm_regulator_register(), so we don't need to store *rdev in struct lp872x for clean up. Also clean up lp872x_probe() a bit to remove unnecessary goto and num_regulators variable. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed