diff options
-rw-r--r-- | drivers/iio/frequency/adf4350.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c index 2b301eba1d76..10a0dfc3b01f 100644 --- a/drivers/iio/frequency/adf4350.c +++ b/drivers/iio/frequency/adf4350.c | |||
@@ -611,9 +611,8 @@ static int adf4350_remove(struct spi_device *spi) | |||
611 | if (st->clk) | 611 | if (st->clk) |
612 | clk_disable_unprepare(st->clk); | 612 | clk_disable_unprepare(st->clk); |
613 | 613 | ||
614 | if (!IS_ERR(reg)) { | 614 | if (!IS_ERR(reg)) |
615 | regulator_disable(reg); | 615 | regulator_disable(reg); |
616 | } | ||
617 | 616 | ||
618 | return 0; | 617 | return 0; |
619 | } | 618 | } |