diff options
author | Baolin Wang <baolin.wang7@gmail.com> | 2020-04-29 12:45:37 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-05-26 12:51:20 +0300 |
commit | c085c664155ef6bd2e0ae9a030751b66cf307606 (patch) | |
tree | 06e3165d606ceb3f9c296c06c6f7270253bbdc95 /drivers/mfd | |
parent | 9a875245f0c7fe2884ac4b58339c8da3ab9952f8 (diff) | |
download | linux-c085c664155ef6bd2e0ae9a030751b66cf307606.tar.xz |
mfd: sprd: Remove unnecessary spi_bus_type setting
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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/sprd-sc27xx-spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |