Re: [PATCH] regmap: Make sure regmap_init() returns non-NULL on failure

From: Mark Brown
Date: Wed Aug 27 2014 - 10:57:19 EST


On Wed, Aug 27, 2014 at 04:06:16PM +0200, Geert Uytterhoeven wrote:
> Commit d647c199510c2c12 ("regmap: add DT endianness binding support.")
> added two extra users of the "ret" variable in regmap_init(), to store
> the error code returned by of_regmap_get_endian(). Thus from this point
> on, "ret" is zero in case of success.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature