spi: omap: Allocate bus number from spi framework
authorSuniel Mahesh <sunil.m@techveda.org>
Fri, 18 Aug 2017 05:43:40 +0000 (11:13 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 18 Aug 2017 11:15:41 +0000 (12:15 +0100)
commitb590782afe0a99fca84f451252ed7e2d64b2f155
tree62e8882e05a8837e28e08f3eb761211bc712b392
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
spi: omap: Allocate bus number from spi framework

spi framework should allocate bus number dynamically either
via Linux IDR or spi alias for master drivers. This patch deletes
code pertaining to manual allocation of spi bus number in spi omap2
master driver.

Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Signed-off-by: Karthik Tummala <karthik@techveda.org>
Tested-by: Karthik Tummala <karthik@techveda.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c