Skip to content

Commit c085c66

Browse files
baolin-wangLee Jones
authored andcommitted
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 <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent 9a87524 commit c085c66

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mfd/sprd-sc27xx-spi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ MODULE_DEVICE_TABLE(of, sprd_pmic_match);
284284
static struct spi_driver sprd_pmic_driver = {
285285
.driver = {
286286
.name = "sc27xx-pmic",
287-
.bus = &spi_bus_type,
288287
.of_match_table = sprd_pmic_match,
289288
},
290289
.probe = sprd_pmic_probe,

0 commit comments

Comments
 (0)