Re: [PATCH] regmap: debugfs: Add a registers `range' file
From: Mark Brown
Date: Mon Feb 11 2013 - 08:16:47 EST
On Mon, Feb 11, 2013 at 10:52:23AM +0000, Dimitris Papastamos wrote:
> +struct regmap_reg_range {
> + unsigned int start;
> + unsigned int end;
> + unsigned int attr;
> +};
All we ever do with this struct is
> + r.start = c->base_reg;
> + r.end = c->max_reg;
> + r.attr = c->reg_attr;
pack it with the contents of a cache entry. Why not just use the cache
entry directly?
Attachment:
signature.asc
Description: Digital signature