commit | 52b84dac436a681fa51dad2b9e57b6ea50309cbd | [log] [tgz] |
---|---|---|
author | AnilKumar Ch <anilkumar@ti.com> | Fri Sep 07 20:45:05 2012 +0530 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Sep 08 08:54:15 2012 +0800 |
tree | f7bfcf40abfde3305efbe4d02d4df6c3661ab759 | |
parent | 2b5a24a01df12fbfa3e702ad7efae27bcb852e33 [diff] |
regulator: core: Try using the parent device for the default regmap If the device doesn't have a regmap specified by the driver and we can't find one on the device itself try its parent, providing a useful defualt for many MFDs. [Rewrite commit message -- broonie] Signed-off-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>