commit | 5c74fba9646c29369bc8813e6a3300ca4b6c7f42 | [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 | 54473a40cb44ade9c38bff56eb6e5325c7173e7a [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>