| From | Joel Stanley <> | Date | Thu, 28 Jun 2018 13:42:05 +0930 | Subject | Re: [PATCH 09/14] fsi: master-gpio: Add missing release function |
| |
On 27 June 2018 at 08:56, Benjamin Herrenschmidt <benh@kernel.crashing.org> 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>
|