Grant Likely
1e8a52e18c
spi: By default setup spi_masters with 1 chipselect and dynamics bus number
...
Trivial simplification. Instead of requiring spi master drivers to
always set the bus number (even when a dynamic number is desired),
this patch modifies spi_alloc_master() to initialize num_chipselect to
1 (because there will always be at least one CS) and bus_num to -1 for
dynamic allocation. This simplifies the code needed to be written for
drivers.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-05-19 23:42:08 -06:00
..
2012-04-27 12:15:45 -06:00
2012-04-27 12:15:45 -06:00
2011-10-31 19:32:17 -04:00
2012-05-19 23:42:08 -06:00
2011-11-09 23:02:12 +08:00
2011-10-31 19:32:17 -04:00
2012-04-27 11:19:15 -06:00
2012-04-27 12:20:39 -06:00
2012-04-27 12:17:25 -06:00
2011-06-06 01:16:30 -06:00
2011-10-31 19:32:17 -04:00
2011-10-31 19:32:17 -04:00
2012-05-19 22:57:27 -06:00
2012-03-30 16:46:22 -06:00
2012-03-21 19:20:22 +05:30
2011-10-31 19:32:17 -04:00
2012-04-10 14:11:34 -06:00
2012-04-05 15:25:50 -07:00
2011-09-21 09:41:48 -06:00
2012-05-09 18:37:42 -06:00
2012-04-13 10:21:39 -06:00
2012-04-13 10:21:39 -06:00
2011-06-06 01:16:30 -06:00
2012-05-19 23:12:06 -06:00
2011-12-07 22:17:39 +01:00
2012-04-10 22:17:15 -06:00
2012-05-19 23:42:08 -06:00
2011-10-25 00:35:47 +02:00
2012-05-19 23:42:08 -06:00
2011-10-25 00:35:47 +02:00
2012-02-01 17:10:52 -07:00
2011-10-31 19:32:17 -04:00
2012-05-19 22:54:19 -06:00
2011-06-06 01:16:30 -06:00
2012-03-28 18:30:03 +01:00
2012-03-16 04:28:40 +00:00
2012-04-27 12:07:40 -06:00
2012-05-19 23:42:08 -06:00
2012-04-10 14:11:34 -06:00
2011-06-06 01:16:30 -06:00
2012-05-19 22:37:16 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-01-31 20:06:27 +09:00
2012-03-15 03:32:17 -06:00
2012-03-15 03:41:50 -06:00
2011-10-31 19:32:17 -04:00
2011-10-31 19:32:17 -04:00
2012-03-07 19:18:45 -07:00
2012-05-19 23:17:31 -06:00
2011-10-25 00:35:47 +02:00
2011-10-25 00:35:47 +02:00
2011-10-31 19:32:17 -04:00
2011-10-31 19:32:17 -04:00
2012-05-19 23:42:08 -06:00
2011-10-31 19:32:17 -04:00
2011-10-25 00:35:47 +02:00
2012-05-19 23:42:08 -06:00
2011-06-06 01:16:30 -06:00