Searched hist:"982 fe2e093c62dbe144bd86c8b88cee65e5ad345" (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/mmc/host/ |
H A D | dw_mmc-starfive.c | diff 982fe2e093c62dbe144bd86c8b88cee65e5ad345 Sat May 06 00:15:06 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mmc: dw_mmc: Make dw_mci_pltfm_remove() return void
dw_mci_pltfm_remove() returned zero unconditionally. Make it return void instead which makes its semantics a bit clearer.
Convert the drivers that use this function as .remove() callback to .remove_new() which has the right prototype. This helps getting rid of the platform_driver's remove callback that returns an int (which is error prone). The other users didn't check the return value anyhow.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505221506.1247424-1-u.kleine-koenig@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
H A D | dw_mmc-bluefield.c | diff 982fe2e093c62dbe144bd86c8b88cee65e5ad345 Sat May 06 00:15:06 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mmc: dw_mmc: Make dw_mci_pltfm_remove() return void
dw_mci_pltfm_remove() returned zero unconditionally. Make it return void instead which makes its semantics a bit clearer.
Convert the drivers that use this function as .remove() callback to .remove_new() which has the right prototype. This helps getting rid of the platform_driver's remove callback that returns an int (which is error prone). The other users didn't check the return value anyhow.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505221506.1247424-1-u.kleine-koenig@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
H A D | dw_mmc-pltfm.h | diff 982fe2e093c62dbe144bd86c8b88cee65e5ad345 Sat May 06 00:15:06 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mmc: dw_mmc: Make dw_mci_pltfm_remove() return void
dw_mci_pltfm_remove() returned zero unconditionally. Make it return void instead which makes its semantics a bit clearer.
Convert the drivers that use this function as .remove() callback to .remove_new() which has the right prototype. This helps getting rid of the platform_driver's remove callback that returns an int (which is error prone). The other users didn't check the return value anyhow.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505221506.1247424-1-u.kleine-koenig@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
H A D | dw_mmc-k3.c | diff 982fe2e093c62dbe144bd86c8b88cee65e5ad345 Sat May 06 00:15:06 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mmc: dw_mmc: Make dw_mci_pltfm_remove() return void
dw_mci_pltfm_remove() returned zero unconditionally. Make it return void instead which makes its semantics a bit clearer.
Convert the drivers that use this function as .remove() callback to .remove_new() which has the right prototype. This helps getting rid of the platform_driver's remove callback that returns an int (which is error prone). The other users didn't check the return value anyhow.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505221506.1247424-1-u.kleine-koenig@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
H A D | dw_mmc-pltfm.c | diff 982fe2e093c62dbe144bd86c8b88cee65e5ad345 Sat May 06 00:15:06 CEST 2023 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mmc: dw_mmc: Make dw_mci_pltfm_remove() return void
dw_mci_pltfm_remove() returned zero unconditionally. Make it return void instead which makes its semantics a bit clearer.
Convert the drivers that use this function as .remove() callback to .remove_new() which has the right prototype. This helps getting rid of the platform_driver's remove callback that returns an int (which is error prone). The other users didn't check the return value anyhow.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230505221506.1247424-1-u.kleine-koenig@pengutronix.de Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|