From: Guennadi Liakhovetski Date: Fri, 21 Jun 2013 06:30:22 +0000 (+0200) Subject: regulators: max8973: fix multiple instance support X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~26^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db892ff6c0f49708f13d9dff3957034f2f90e1c1;p=pandora-kernel.git regulators: max8973: fix multiple instance support Currently the max8973 regulator driver uses a single static struct of regulator operations for all chip instances, but can overwrite some of its members depending on configuration. This will affect all other MAX8973 instances on the system. This patch fixes this bug by allocating a separate copy of the struct for each chip instance. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mark Brown --- Reading git-diff-tree failed