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

From: Mark Brown
Date: Fri Sep 07 2012 - 20:57:16 EST


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 <anilkumar@xxxxxx>

Applied with a rewritten commit message - this is adding a new feature,
not fixing a problem (devices can always explicitly specify a regmap,
this is just adding a new default option). Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/