Re: [PATCH] spi: Use ida to manage SPI bus number

2017-09-08 Thread Baolin Wang
Hi Mark, On 6 September 2017 at 21:28, Mark Brown wrote: > On Wed, Sep 06, 2017 at 07:26:51PM +0800, Baolin Wang wrote: >> This patch adds one static ida variable to manage SPI bus number, moreover >> we can get dynamic bus number from ida instead of one "dynamic" IDs, which

Re: [PATCH] spi: Use ida to manage SPI bus number

2017-09-08 Thread Baolin Wang
Hi Mark, On 6 September 2017 at 21:28, Mark Brown wrote: > On Wed, Sep 06, 2017 at 07:26:51PM +0800, Baolin Wang wrote: >> This patch adds one static ida variable to manage SPI bus number, moreover >> we can get dynamic bus number from ida instead of one "dynamic" IDs, which >> can be removed. >

Re: [PATCH] spi: Use ida to manage SPI bus number

2017-09-06 Thread Mark Brown
On Wed, Sep 06, 2017 at 07:26:51PM +0800, Baolin Wang wrote: > This patch adds one static ida variable to manage SPI bus number, moreover > we can get dynamic bus number from ida instead of one "dynamic" IDs, which > can be removed. Someone else actually addressed this TODO item just in the last

Re: [PATCH] spi: Use ida to manage SPI bus number

2017-09-06 Thread Mark Brown
On Wed, Sep 06, 2017 at 07:26:51PM +0800, Baolin Wang wrote: > This patch adds one static ida variable to manage SPI bus number, moreover > we can get dynamic bus number from ida instead of one "dynamic" IDs, which > can be removed. Someone else actually addressed this TODO item just in the last

[PATCH] spi: Use ida to manage SPI bus number

2017-09-06 Thread Baolin Wang
This patch adds one static ida variable to manage SPI bus number, moreover we can get dynamic bus number from ida instead of one "dynamic" IDs, which can be removed. Signed-off-by: Baolin Wang --- drivers/spi/spi.c | 21 +++-- 1 file changed, 15

[PATCH] spi: Use ida to manage SPI bus number

2017-09-06 Thread Baolin Wang
This patch adds one static ida variable to manage SPI bus number, moreover we can get dynamic bus number from ida instead of one "dynamic" IDs, which can be removed. Signed-off-by: Baolin Wang --- drivers/spi/spi.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-)