RE: [PATCH v3 1/6] mfd: TPS65910: Handle non-existent devices

From: Mohammed, Afzal
Date: Fri Nov 04 2011 - 02:23:52 EST


Hi Kyle,

On Thu, Nov 03, 2011 at 22:38:01, Kyle Manna wrote:
> + ret = mfd_add_devices(tps65910->dev, -1, tps65910s,
> + ARRAY_SIZE(tps65910s), NULL, 0);
> + if (ret < 0)
> + goto err2;

Isn't goto err sufficient

Regards
Afzal
--
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/