firmware: tegra: Stop using seq_get_buf()
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Aug 2021 15:54:39 +0000 (17:54 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 11 Aug 2021 10:17:18 +0000 (12:17 +0200)
commitdd00d75007d27677158bf6e64000d2e266035294
treebfc2037106ace1e6e95f48f5be76dbfd59dedc1a
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
firmware: tegra: Stop using seq_get_buf()

Opencode a copy of mrq_debug_read() in bpmp_debug_show() so that it
can use seq_write() directly instead of poking holes into the seq_file
abstractions using seq_get_buf().

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp-debugfs.c