diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-11-02 11:07:36 +0100 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2022-12-18 20:40:30 -0600 |
commit | acabe12c6106b105ac8285d6d5ba2aeeab74fd47 (patch) | |
tree | fca0716f1602ee1357b3a33a09a52bceb79662b8 /scripts/generate_rust_analyzer.py | |
parent | 165b7643f2df890066b1b4e8a387888a600ca9bf (diff) | |
download | linux-acabe12c6106b105ac8285d6d5ba2aeeab74fd47.tar.gz |
mailbox: mtk-cmdq-mailbox: Use platform data directly instead of copying
Copying platform data to struct cmdq serves to no purpose, as that
data is never modified during runtime: it's worth at this point
storing a pointer to gce_plat in gce and.
Remove all duplicated `struct gce_plat` members from `struct gce`
and reuse the platform data across the driver to save some memory.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions