regmap: Add provisions to have user-defined read operation
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 12 Jan 2013 20:54:12 +0000 (12:54 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 Jan 2013 23:04:01 +0000 (08:04 +0900)
commitad278406b3b8b8e454af23b63df3c3d63f6aee94
treec5e936e0acf0b3ae7b9d88ba1601507a18c6769d
parent9931faca02c604c22335f5a935a501bb2ace6e20
regmap: Add provisions to have user-defined read operation

This commit is a preparatory commit to provide "no-bus" configuration
option for regmap API. It adds necessary plumbing needed to have the
ability to provide user define register read function.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h
drivers/base/regmap/regmap.c