diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2020-09-18 16:22:33 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-09-24 11:51:04 +0300 |
commit | e69aae713bef63b357d4ff85bcb3f8f63dbf4ba3 (patch) | |
tree | 22dc5e9ba0433823897b3a95fabe9ddf37734262 /scripts/bpf_helpers_doc.py | |
parent | 2f71078e7753b2fbba62999aa46c2fad16df9d98 (diff) | |
download | linux-e69aae713bef63b357d4ff85bcb3f8f63dbf4ba3.tar.xz |
clocksource/drivers/sp804: Prepare for support non-standard register offset
Add two local variables: timer1_base and timer2_base in sp804_of_init(),
to avoid repeatedly calculate the base address of timer2, and make it
easier to recognize timer1. Hope to make the next patch looks more clear.
No functional change.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200918132237.3552-6-thunder.leizhen@huawei.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions