Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345722

Re: [PATCH 5/7] regulator: act8865: Pass of_node via act8865_regulator_data

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] regulator: act8865: Pass of_node via act8865_regulator_data
Date 2016-02-29 12:40 +0100
Message-ID <r7ulb-2qo-3@gated-at.bofh.it> (permalink)
References <r7bVf-4Ib-3@gated-at.bofh.it> <r7bVg-4Ib-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 5/7] regulator: act8865: Pass of_node via act8865_regulator_data Maarten ter Huurne <maarten@treewalker.org> - 2016-02-28 17:00 +0100
  Re: [PATCH 5/7] regulator: act8865: Pass of_node via  act8865_regulator_data Mark Brown <broonie@kernel.org> - 2016-02-29 12:40 +0100

csiph-web