Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Baolin Wang and committed by
Lee Jones
c085c664 9a875245

-1
-1
drivers/mfd/sprd-sc27xx-spi.c
··· 284 284 static struct spi_driver sprd_pmic_driver = { 285 285 .driver = { 286 286 .name = "sc27xx-pmic", 287 - .bus = &spi_bus_type, 288 287 .of_match_table = sprd_pmic_match, 289 288 }, 290 289 .probe = sprd_pmic_probe,