diff options
| author | Linus Walleij <[email protected]> | 2018-11-12 15:12:30 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2018-12-17 08:26:24 +0100 |
| commit | ec5af091b28abf6b61c219f08b3407ae24073495 (patch) | |
| tree | 62833238cf947ab6e74e27b09c7768f1a14712c2 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 21f1e2d457ce678adc1269cef6e83cd66dc6fdc6 (diff) | |
mmc: slot-gpio: Allocate GPIO labels dynamically
The use of string pointers in the MMC slot GPIO context is
pretty dubious, allocating some 2*len extra bytes for each
label of the ro and wp pins.
Tidy this up using kasprintf() with dynamic allocation of
labels for these strings.
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions