Change gpio-reulator-probe() to use managed resources.

From: Rob Jones
Date: Thu Jun 19 2014 - 11:47:33 EST


Add new managed resource functions as needed to achieve this.

Amend the following functions:

devm_kstrdup()
gpio_regulator_probe()

Add the following functions:

devm_kmemdup()
devm_gpio_request_array()
devm_gpio_free_array()

Remove the following functions:

gpio_regulator_remove()


>From Rob Jones <rob.jones@xxxxxxxxxxxxxxx> # This line is ignored.
From: Rob Jones <rob.jones@xxxxxxxxxxxxxxx>
Subject:
In-Reply-To:

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