On Sat, Jun 8, 2013 at 4:55 AM, Laurent Pinchart
<[email protected]> wrote:
> - if (IS_ERR(mt9p031->vaa) || IS_ERR(mt9p031->vdd) ||
> - IS_ERR(mt9p031->vdd_io)) {
> + ret = devm_regulator_bulk_get(&client->dev, 3, mt9p031->regulators);
> + if (ret < 0) {
> dev_err(&client->dev, "Unable to get regulators\n");
> return -ENODEV;
You should do a 'return ret' here instead.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html