diff options
| author | 2020-09-18 21:22:33 +0800 | |
|---|---|---|
| committer | 2020-09-24 10:51:04 +0200 | |
| commit | e69aae713bef63b357d4ff85bcb3f8f63dbf4ba3 (patch) | |
| tree | 22dc5e9ba0433823897b3a95fabe9ddf37734262 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | clocksource/drivers/sp804: Remove a mismatched comment (diff) | |
| download | linux-dev-e69aae713bef63b357d4ff85bcb3f8f63dbf4ba3.tar.xz linux-dev-e69aae713bef63b357d4ff85bcb3f8f63dbf4ba3.zip | |
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 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
