Re: [PATCH v2 3/3] spi: allow registering empty spi_board_info lists

2017-02-28 Thread Dmitry Torokhov
On Tue, Feb 28, 2017 at 04:01:46PM +0200, Andy Shevchenko wrote: > On Tue, Feb 28, 2017 at 6:18 AM, Dmitry Torokhov > wrote: > > Many boards form list of spi_board_info entries depending on config, > > and it is possible to end up with empty list. Do not report error > > in such cases. > > If the

Re: [PATCH v2 3/3] spi: allow registering empty spi_board_info lists

2017-02-28 Thread Andy Shevchenko
On Tue, Feb 28, 2017 at 6:18 AM, Dmitry Torokhov wrote: > Many boards form list of spi_board_info entries depending on config, > and it is possible to end up with empty list. Do not report error > in such cases. If there is an actual case already it would be better to make the patch first in the

[PATCH v2 3/3] spi: allow registering empty spi_board_info lists

2017-02-27 Thread Dmitry Torokhov
Many boards form list of spi_board_info entries depending on config, and it is possible to end up with empty list. Do not report error in such cases. Signed-off-by: Dmitry Torokhov --- drivers/spi/spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c i