On Sat, Nov 25, 2017 at 4:38 PM, Lukas Wunner <lukas@xxxxxxxxx> wrote: > The GPIO core provides a handy GPIO_LOOKUP() macro to populate a struct > gpiod_lookup array without having to spell out attribute names (but > still avoid breakage when attributes within the struct are rearranged > or added). > > The axp288_adc.c driver uses a similar macro to populate a struct > iio_map array. Make it available to others. > > Cc: Chen-Yu Tsai <wens@xxxxxxxx> > Cc: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx> > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> Acked-by: Chen-Yu Tsai <wens@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html