| Date | Wed, 26 Jul 2023 08:47:26 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH v2 16/61] mmc: rtsx_pci: Drop if block with always false condition |
| |
On Wed, Jul 26, 2023 at 11:59:56AM +0800, Yangtao Li wrote: > rtsx_pci_sdmmc_drv_remove() is only called for a device after > rtsx_pci_sdmmc_drv_probe() returned 0. In that case platform_set_drvdata() > was called with a non-NULL value and so platform_get_drvdata() > won't return NULL. > > Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] |