[PATCH V4 4/4] mmc: pwrseq_simple: Add support for a reset GPIO pin

Javier Martinez Canillas javier at dowhile0.org
Fri Jan 23 09:09:12 PST 2015


Hello Ulf,

On Fri, Jan 23, 2015 at 6:01 PM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>>
>> Any reason to not use the devm_gpiod_get_index() managed version instead?
>
> This struct device don't have a bound driver to it. Thus this device
> won't be freed automagically from the ->remove() or failed ->probe()
> path.
>

Right, I missed that. Thanks a lot for the clarification.

Best regards,
Javier



More information about the linux-arm-kernel mailing list