Messages in this thread | | | Date | Tue, 24 Mar 2015 09:06:43 -0700 | From | Mark Brown <> | Subject | Re: [PATCH 1/5] mfd: arizona: Add missing gpio_free in arizona_dev_exit |
| |
On Tue, Mar 24, 2015 at 02:59:48PM +0000, Charles Keepax wrote:
> - if (arizona->pdata.reset) > + if (arizona->pdata.reset) { > gpio_set_value_cansleep(arizona->pdata.reset, 0); > + gpio_free(arizona->pdata.reset); > + }
Or acquire the GPIO with devm_ and avoid having to explicitly free it at all? [unhandled content-type:application/pgp-signature] | |