On Tue, Mar 24, 2015 at 07:26:45PM +0000, Srinivas Kandagatla wrote:
On 24/03/15 19:02, Mark Brown wrote:
quoted
On Tue, Mar 24, 2015 at 06:34:32PM +0000, Srinivas Kandagatla wrote:
quoted
quoted
On 24/03/15 17:23, Mark Brown wrote:
quoted
quoted
quoted
quoted
quoted
quoted
quoted
regmap_get_size(regmap)
quoted
quoted
quoted
quoted
quoted
This is already there.
quoted
quoted
quoted
Sorry, I can't see any such api atleast in v4.0-rc5 and linux-next? Are you
referring to another api which does the same job?
quoted
regmap_get_val_bytes()
This would return value bytes, but I wanted is the regmap->max_register
value which would be used for sanity checks in eeprom-core.
Then you *really* want to pick a better name then, I'd never have
inferred that meaning from "size" (consider sparse register maps for
example). Like I said, send patches (preferrably showing the users as
well).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150324/88beb637/attachment.sig>