Staging: ipack/bridges/tpci200: Put the TPCI200 control registers into a struct.
authorJens Taprogge <jens.taprogge@taprogge.org>
Tue, 11 Sep 2012 11:34:54 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 19:15:10 +0000 (12:15 -0700)
commit28086cbdadc6ef7fc3600b8478e5d5b9bfe483b8
tree355891a8bb9d1e3cc897d206bc08e9443cbb7123
parent04a4d10d07b1017eadef721fcd5a3937e2e1be53
Staging: ipack/bridges/tpci200: Put the TPCI200 control registers into a struct.

This saves us from a little pointer arithmetic and cleans up the code a bit.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c
drivers/staging/ipack/bridges/tpci200.h