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

2014-06-20 Thread Mark Brown
On Fri, Jun 20, 2014 at 09:38:29AM +0100, Rob Jones wrote: > I omitted to put "[Patch 0/4][v2]" on the front of the subject line.The > actual patches followed. Oh, so this is associated with a patch series? > It was a consequence of lack of familiarity with the tools; I'm learning, so > it shoul

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

2014-06-20 Thread Rob Jones
On 19/06/14 18:57, Mark Brown wrote: On Thu, Jun 19, 2014 at 04:46:01PM +0100, Rob Jones wrote: Add new managed resource functions as needed to achieve this. Amend the following functions: You appear to have omitted the actual patch, I'm quoting the entire mail here. Please see Documentation

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

2014-06-19 Thread Mark Brown
On Thu, Jun 19, 2014 at 04:46:01PM +0100, Rob Jones wrote: > Add new managed resource functions as needed to achieve this. > > Amend the following functions: You appear to have omitted the actual patch, I'm quoting the entire mail here. Please see Documentation/SubmittingPatches for some tips on

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

2014-06-19 Thread Rob Jones
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 J