Closed ghost closed 7 years ago
This connects to CreatorDev/openwrt#238.
The call to spi_master_put() in img_spfi_remove() is redundant since the master is registered using devm_spi_register_master() and no reference hold by using spi_master_get() in img_spfi_remove().
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun weiyj.lk@gmail.com Signed-off-by: Mark Brown broonie@kernel.org
Now part of https://github.com/CreatorDev/linux/pull/25.
This connects to CreatorDev/openwrt#238.
The call to spi_master_put() in img_spfi_remove() is redundant since the master is registered using devm_spi_register_master() and no reference hold by using spi_master_get() in img_spfi_remove().
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun weiyj.lk@gmail.com Signed-off-by: Mark Brown broonie@kernel.org