Refactor driver instantiations to take uintptr_t instead of void *

Depthcharge driver instatiation routines all follow the pattern
new_device(void *base_address) and are always called from a board.c file
with an integer literal that is casted twice ((void *)(uintptr_t)). In
order to preserve the sanity of future developers, let's remove that
boilerplate and make the functions accept uintptr_t integer literals
directly.

BUG=None
TEST=None

Change-Id: I5b881bae1a8274f10cd756c356ff4b0f73f043ed
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/169656
Reviewed-by: Gabe Black <gabeblack@chromium.org>
17 files changed
tree: 036500685108b7d8cc94c3d97efb2de73059e85f
  1. board/
  2. src/
  3. util/
  4. .gitignore
  5. Kconfig
  6. Makefile
  7. Makefile.inc
  8. PRESUBMIT.cfg