From: Axel Lin Date: Sun, 9 Mar 2014 07:32:19 +0000 (+0800) Subject: regulator: max8998: Remove unnecessary **rdev from struct max8998_data X-Git-Tag: v3.15-rc1~148^2~2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a221df6996f296aba4d4d713a42799bb28fde69;p=pandora-kernel.git regulator: max8998: Remove unnecessary **rdev from struct max8998_data Now we are using devm_regulator_register(), so we don't need to allocate *rdev[] array to store return value of devm_regulator_register. Use a *rdev variable is enough for checking return status. Signed-off-by: Axel Lin Acked-by: MyungJoo Ham Signed-off-by: Mark Brown --- Reading git-diff-tree failed