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

From: Srinivas Kandagatla
Date: Tue Mar 24 2015 - 15:26:54 EST




On 24/03/15 19:02, Mark Brown wrote:
On Tue, Mar 24, 2015 at 06:34:32PM +0000, Srinivas Kandagatla wrote:
>On 24/03/15 17:23, Mark Brown wrote:
> >>regmap_get_size(regmap)
> >This is already there.
>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?
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.

--srini

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/