The tps6524x driver uses spi_dev_get() to take a copy of the SPI device
it uses but has no obvious reason to do so and never calls spi_dev_put()
to release the reference. Fix this to just a straight copy.
Signed-off-by: Mark Brown
---
drivers/regulator/tps6524x-regulator.c | 2 +-
1 file change
The tps6524x driver uses spi_dev_get() to take a copy of the SPI device
it uses but has no obvious reason to do so and never calls spi_dev_put()
to release the reference. Fix this to just a straight copy.
Signed-off-by: Mark Brown
---
drivers/regulator/tps6524x-regulator.c | 2 +-
1 file change
2 matches
Mail list logo