Commit e1b88eb0 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Samuel Ortiz
Browse files

mfd: Don't open-code mc13xxx_unlock

parent 77b22897
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -749,7 +749,7 @@ static int mc13xxx_probe(struct spi_device *spi)
	if (ret) {
err_mask:
err_revision:
		mutex_unlock(&mc13xxx->lock);
		mc13xxx_unlock(mc13xxx);
		dev_set_drvdata(&spi->dev, NULL);
		kfree(mc13xxx);
		return ret;