From: Axel Lin Date: Thu, 19 Aug 2010 02:29:19 +0000 (+0800) Subject: regulator: max8998 - fix memory allocation size for max8998->rdev X-Git-Tag: v2.6.36-rc5~29^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11fa0d1d20c7cc432c77369bc8bbfbc21030e457;p=pandora-kernel.git regulator: max8998 - fix memory allocation size for max8998->rdev We only use max8998->rdev[0] .. max8998->rdev[pdata->num_regulators-1], max8998->rdev[pdata->num_regulators] is not used. Thus fix the memory allocation size. Signed-off-by: Axel Lin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed