10 Nov
2011
10 Nov
'11
2:03 p.m.
On Thu, Nov 10, 2011 at 02:35:42PM +0200, Leon Romanovsky wrote:
On Thu, Nov 10, 2011 at 14:11, Mark Brown
Ideally you should convert the driver over to work with the regmap API and make use of the cache code it provides. This is going to be required at some point in the future and would mean that you could use the same register I/O functionality here where you're identifying the device (which is definitely good practice).
If it possible, I would prefer to wait with this. I'll not be able to test the regmap interface properly because it was implemented for the 3.0 tree, and my development machine doesn't support it yet.
As it's an entirely new subsystem it should be really easy to backport if you just copy the code into the older kernel.