[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C8443D0743D26F4388EA172BF4E2A7A9018E8F@DBDE01.ent.ti.com>
Date: Fri, 4 Nov 2011 06:22:43 +0000
From: "Mohammed, Afzal" <afzal@...com>
To: Kyle Manna <kyle.manna@...l7.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>
CC: Jorge Eduardo Candelaria <jedu@...mlogic.co.uk>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
"Girdwood, Liam" <lrg@...com>, Samuel Ortiz <sameo@...ux.intel.com>
Subject: RE: [PATCH v3 1/6] mfd: TPS65910: Handle non-existent devices
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists