* [PATCH] mfd: sprd: Remove unnecessary spi_bus_type setting
@ 2020-04-29 9:45 Baolin Wang
2020-05-15 10:37 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Baolin Wang @ 2020-04-29 9:45 UTC (permalink / raw)
To: lee.jones; +Cc: baolin.wang7, orsonzhai, zhang.lyra, linux-kernel
The spi_register_driver() will set the spi_bus_type for the spi_driver,
thus remove the redundant setting in this driver.
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
---
drivers/mfd/sprd-sc27xx-spi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
index ebdf2f11ae28..33336cde4724 100644
--- a/drivers/mfd/sprd-sc27xx-spi.c
+++ b/drivers/mfd/sprd-sc27xx-spi.c
@@ -284,7 +284,6 @@ MODULE_DEVICE_TABLE(of, sprd_pmic_match);
static struct spi_driver sprd_pmic_driver = {
.driver = {
.name = "sc27xx-pmic",
- .bus = &spi_bus_type,
.of_match_table = sprd_pmic_match,
},
.probe = sprd_pmic_probe,
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: sprd: Remove unnecessary spi_bus_type setting
2020-04-29 9:45 [PATCH] mfd: sprd: Remove unnecessary spi_bus_type setting Baolin Wang
@ 2020-05-15 10:37 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2020-05-15 10:37 UTC (permalink / raw)
To: Baolin Wang; +Cc: orsonzhai, zhang.lyra, linux-kernel
On Wed, 29 Apr 2020, Baolin Wang wrote:
> The spi_register_driver() will set the spi_bus_type for the spi_driver,
> thus remove the redundant setting in this driver.
>
> Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
> ---
> drivers/mfd/sprd-sc27xx-spi.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-15 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 9:45 [PATCH] mfd: sprd: Remove unnecessary spi_bus_type setting Baolin Wang
2020-05-15 10:37 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.