lkml.org 
[lkml]   [2023]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2023-07-26 08:47    [W:0.379 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site