[lkml]   [2017]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] iio: dac: ds4422/ds4424 dac driver
On Thu, Sep 14, 2017 at 10:24 PM, Ismail Kose
<> wrote:

> +struct ds4424_pdata {
> + const char *vcc_supply_name;

Should not be needed at all, get the supply directly from the device tree.

> + uint32_t rfs_res[DS4424_MAX_DAC_CHANNELS];
> + struct iio_map *dac_iio_map;
> +};

Drop this entire platform data file and move all these fields
you still need into struct ds4424_data.

If you have legacy kernels still using platform data, that's too
bad, we will not maintain them upstream and not merge new
board files using platform data normally, use device tree or ACPI
DSTD only please.

Linus Walleij

 \ /
  Last update: 2017-09-15 09:12    [W:0.049 / U:9.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site