Re: [patch] regulator/tps65912: storing error codes in u8

From: Samuel Ortiz
Date: Wed Jul 06 2011 - 15:06:57 EST


Hi Dan,

On Wed, Jul 06, 2011 at 09:57:18PM +0300, Dan Carpenter wrote:
> get_ctrl_reg() returns -EINVAL so the error handling won't work here
> if reg is a u8.
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>
Thanks, patch applied.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/