regcache: flat: Un-inline index lookup from cache access
authorAndrew F. Davis <afd@ti.com>
Sun, 7 Jan 2018 23:22:33 +0000 (17:22 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 12:08:57 +0000 (12:08 +0000)
commit46318b9784fb7b8363cc67bec24796b15dbba1e9
tree2733f87b7c4c7f3289613e8940889c8370816ebc
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
regcache: flat: Un-inline index lookup from cache access

This makes the code slightly more readable and allows for cleaner
addition of functionality in later patches.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regcache-flat.c