From: Pelle Nilsson Date: Tue, 14 Apr 2015 13:40:17 +0000 (+0200) Subject: spi: bitbang: Make setup_transfer() callback optional X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~35^2~1^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d0ec8b6f40b356f780b79de63eeafd6b907d68c;p=pandora-kernel.git 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 Reviewed-by: Ezequiel Garcia Signed-off-by: Mark Brown --- Reading git-diff-tree failed