aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2017-11-25 09:38:17 +0100
committerJonathan Cameron <[email protected]>2017-12-02 13:28:21 +0000
commit8d05ffd2b8a08668cfea9e64a2991ab8ec9b494e (patch)
tree485d0ab10c15a83dc8b7f06840c203a0ee248b7a /tools/perf/scripts/python/call-graph-from-sql.py
parentcccae604868c821754883edee6ced81b22e6b75a (diff)
iio: Add macro to populate struct iio_map array
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: Jacob Pan <[email protected]> Signed-off-by: Lukas Wunner <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions