diff options
| author | Pelle Nilsson <[email protected]> | 2015-04-14 13:40:17 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-04-18 11:01:03 +0000 |
| commit | 7d0ec8b6f40b356f780b79de63eeafd6b907d68c (patch) | |
| tree | 669ce3a25a14487c4dd0bb08839719e89245ca9c /net/switchdev/switchdev.c | |
| parent | Linux 4.0-rc1 (diff) | |
| download | kernel-7d0ec8b6f40b356f780b79de63eeafd6b907d68c.tar.gz kernel-7d0ec8b6f40b356f780b79de63eeafd6b907d68c.zip | |
spi: bitbang: Make setup_transfer() callback optional
Some controller drivers have no need of this callback (spi-altera even
causes a NULL pointer dereference because it doesn't register the callback,
falsely assuming that it is already optional).
Fixes: 30af9b558a56 ("spi/bitbang: Drop empty setup() functions")
Signed-off-by: Pelle Nilsson <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
