commit | 9694b724421b88acf7d553a55e4a43fa4e25e7be | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 19 09:05:40 2015 -0600 |
committer | Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> | Thu Apr 23 15:23:45 2015 +0530 |
tree | 4a4fada5869fe5606950485b22fd6031ef6647c4 | |
parent | 4fbad92e7382c74757a58491deb6d210d1d842db [diff] |
dm: spi: Correct SPI claim/release_bus() methods These methods should be passed a slave device, not a bus. This matches the old SPI interface. It is important to know which device is claiming the bus so passing a bus is not that useful. Reported-by: Haikun Wang <haikun.wang@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Peng Fan <Peng.Fan@freescale.com> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>