[PATCH 09/14] fsi: master-gpio: Add missing release function
joel at jms.id.au
Thu Jun 28 14:12:05 AEST 2018
On 27 June 2018 at 08:56, Benjamin Herrenschmidt
<benh at 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 at kernel.crashing.org>
Reviewed-by: Joel Stanley <joel at jms.id.au>
More information about the Linux-aspeed