commit | 2b750cffe1ed05c9001d9524b5815e1f50461a44 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sun Dec 24 13:04:06 2017 -0800 |
committer | Wim Van Sebroeck <wim@iguana.be> | Sun Jan 21 12:56:34 2018 +0100 |
tree | ddb343ca3dacd51ee23eaf6453b58566d991d644 | |
parent | 1ff688209e2ed23f699269b9733993e2ce123fd2 [diff] |
watchdog: sp5100_tco: Always use SP5100_IO_PM_{INDEX_REG,DATA_REG} SP5100_IO_PM_INDEX_REG and SB800_IO_PM_INDEX_REG are used inconsistently and define the same value. Just use SP5100_IO_PM_INDEX_REG throughout. Do the same for SP5100_IO_PM_DATA_REG and SB800_IO_PM_DATA_REG. Use helper functions to access the indexed registers. Cc: Zoltán Böszörményi <zboszor@pr.hu> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>