Remove unnecessary set_drvdata(NULL) function in ->remove(),
the driver_data will be set to NULL in device_unbind_cleanup()
after calling ->remove().
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
        vsc73xx_remove(&vsc_platform->vsc);
 
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }
 
 
                return;
 
        vsc73xx_remove(&vsc_spi->vsc);
-
-       spi_set_drvdata(spi, NULL);
 }
 
 static void vsc73xx_spi_shutdown(struct spi_device *spi)