Thread (154 messages) 154 messages, 15 authors, 2015-06-24

Re: [PATCH v2 1/7] eeprom: Add a simple EEPROM framework for eeprom providers

From: Mark Brown <broonie@kernel.org>
Date: 2015-03-24 17:23:44
Also in: linux-api, linux-arm-kernel, linux-arm-msm, lkml

On Tue, Mar 24, 2015 at 09:18:14AM +0000, Srinivas Kandagatla wrote:
I did try your suggestion, by which I could remove the regmap from config.
One thing I did not like was eeprom-core getting size/stride info directly
from providers and regmap from regmap apis. I was wondering if we could take
a step further and introduce new regmap helpers like
regmap_get_size(regmap)
This is already there.
regmap_get_stride(regmap)
Which would be give eeprom-core the size and stride info, doing this way
would cut down regmap related things from eeprom_config structure to minimal
and also the source of information would come from just regmap apis.
Documentation/SubmittingPatches...

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help