summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-04-09 13:04:54 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-04-13 23:39:16 +0200
commitfbec1ad4efbdd01759cd4d2e22d27281bd5b1626 (patch)
tree577a6665b9182a4bc0af2ae14ba1b8e5c05186b2 /src/ec
parent6d6b129ea43ba847ba50efa249fbad3a4ad745bc (diff)
rockchip/common: do not retrieve register pointer twice
The driver interface function derives the driver specific pointer from the API provided handle, no need to use the handle in the local functions. BRANCH=none BUG=none TEST=SPI interface with the flash ROM is still working properly. Change-Id: I7725b658365473c733698ca050e780d1dd5072d9 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: a2b42779785623bd1234ab2dfb0b4db76c890fc7 Original-Change-Id: I9d657dc23540e9eac52d2dbfc551ed32b7fa98f0 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/338090 Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/14318 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions