[PATCH 13/20] regmap: regmap max_raw_io getter function
Mark Brown
broonie at kernel.org
Wed Aug 12 04:51:36 PDT 2015
On Wed, Aug 12, 2015 at 12:12:38PM +0200, Markus Pargmann wrote:
> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>
Your changelog doesn't mention why anything would reasonably want to use
this and...
> +size_t regmap_get_raw_io_max(struct regmap *map)
> +{
> + return map->max_raw_io;
> +}
> +EXPORT_SYMBOL_GPL(regmap_get_raw_io_max);
> +
> +/**
> + * regmap_get_raw_read_max - Get the maximum size we can read
> + *
> + * @map: Map to check.
> + */
...it is adding two functions which don't seem very symmetrically named.
> @@ -441,6 +441,8 @@ int regmap_get_max_register(struct regmap *map);
> int regmap_get_reg_stride(struct regmap *map);
> int regmap_async_complete(struct regmap *map);
> bool regmap_can_raw_write(struct regmap *map);
> +size_t regmap_get_raw_write_max(struct regmap *map);
> +size_t regmap_get_raw_io_max(struct regmap *map);
Do we want stubs here?
-------------- 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/20150812/0fc84067/attachment.sig>
More information about the linux-arm-kernel
mailing list