Re: [PATCH] regulator: core: fix rdev->regmap NULL pointer

2012-09-07 Thread Mark Brown
On Fri, Sep 07, 2012 at 08:45:05PM +0530, AnilKumar Ch wrote: > Fixes rdev->regmap NULL pointer if regmap for regulator device > is NULL. If it is NULL then get regmap for regulator device > from its parent (MFD). > > Signed-off-by: AnilKumar Ch Applied with a rewritten commit message - this is

[PATCH] regulator: core: fix rdev->regmap NULL pointer

2012-09-07 Thread AnilKumar Ch
Fixes rdev->regmap NULL pointer if regmap for regulator device is NULL. If it is NULL then get regmap for regulator device from its parent (MFD). Signed-off-by: AnilKumar Ch --- drivers/regulator/core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/c