diff options
author | Nanyong Sun <sunnanyong@huawei.com> | 2021-03-05 19:33:31 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-03-09 20:46:06 -0800 |
commit | 288f6775a08913e9cb5f5ae0a43c105b725be0c8 (patch) | |
tree | de6e01ff0ffd1bb7afe99f56c4dcd9b350be6c19 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 86b276c1ddedfbcc0be708e73d82ce1fb2298768 (diff) |
riscv: ftrace: Use ftrace_get_regs helper
Use ftrace_get_regs() helper call to get pt_regs from ftrace_regs struct,
this makes the code simpler.
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions