Re: [RFC] staging: iio: isl29018: use regmap to retrieve struct device

2016-02-24 Thread Jonathan Cameron
On 22/02/16 20:34, Alison Schofield wrote: > Remove struct device from drivers global data and use regmap > API to retrieve device info instead. > > This replacement can be done for drivers that include regmap > in their global data. > > Signed-off-by: Alison Schofield Thanks, Applied to the to

[RFC] staging: iio: isl29018: use regmap to retrieve struct device

2016-02-22 Thread Alison Schofield
Remove struct device from drivers global data and use regmap API to retrieve device info instead. This replacement can be done for drivers that include regmap in their global data. Signed-off-by: Alison Schofield --- drivers/staging/iio/light/isl29018.c | 28 +++- 1 file