Re: [PATCH 3/3] MFD: twl6040: Cleanup in early error handling inprobe function

From: Lee Jones
Date: Fri Jul 12 2013 - 09:51:42 EST


On Fri, 12 Jul 2013, Peter Ujfalusi wrote:

> The err: label is not needed we can just return instead of the jump there.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
> ---
> drivers/mfd/twl6040.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)

Nice little clean-up. Applied, thanks.

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/