Re: [PATCH 5/7] regulator: act8865: Pass of_node via act8865_regulator_data
From: Mark Brown
Date: Mon Feb 29 2016 - 06:37:17 EST
On Sun, Feb 28, 2016 at 04:53:27PM +0100, Maarten ter Huurne wrote:
> + struct regulator_config config = {
> + .dev = dev,
> + .regmap = act8865->regmap,
> + .driver_data = act8865,
> + };
> + struct act8865_regulator_data *rdata;
> struct regulator_dev *rdev;
>
> - config.dev = dev;
> - config.init_data = act8865_get_init_data(desc->id, pdata);
> - config.of_node = of_node[i];
> - config.driver_data = act8865;
> - config.regmap = act8865->regmap;
This appears to be doing some unrelated refectoring of the code which
should be in a separate commit to make review clearer.
Attachment:
signature.asc
Description: PGP signature