diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/sst25l.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c index a42f1f0e7281..7cc70db97e59 100644 --- a/drivers/mtd/devices/sst25l.c +++ b/drivers/mtd/devices/sst25l.c | |||
@@ -404,7 +404,6 @@ static int sst25l_probe(struct spi_device *spi) | |||
404 | data ? data->nr_parts : 0); | 404 | data ? data->nr_parts : 0); |
405 | if (ret) { | 405 | if (ret) { |
406 | kfree(flash); | 406 | kfree(flash); |
407 | spi_set_drvdata(spi, NULL); | ||
408 | return -ENODEV; | 407 | return -ENODEV; |
409 | } | 408 | } |
410 | 409 | ||