Commit c085c664 authored by Baolin Wang's avatar Baolin Wang Committed by Lee Jones
Browse files

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: default avatarBaolin Wang <baolin.wang7@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 9a875245
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,