Re: [PATCH 09/14] fsi: master-gpio: Add missing release function

From
Joel Stanley <joel@jms.id.au>
Date
2018-06-28 04:12:32
Also in
linux-aspeed, lkml, openbmc
Reply to
Benjamin Herrenschmidt, 2018-06-27
On 27 June 2018 at 08:56, Benjamin Herrenschmidt
[off-list ref] wrote:
The embedded struct device needs a release function to be
able to successfully remove the driver.

We remove the devm_gpiod_put() as they are unnecessary
(the resources will be released automatically) and because
fsi_master_unregister() will cause the master structure to
be freed.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Thread (31 messages) 31 messages, 3 authors, last reply 2018-07-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help