/* spi_bitbang_stop - stops the task providing spi communication  */
int spi_bitbang_stop(struct spi_bitbang *bitbang)
/* spi_bitbang_stop - stops the task providing spi communication  */
int spi_bitbang_stop(struct spi_bitbang *bitbang)
{
	spi_unregister_master(bitbang->master);
	WARN_ON(!list_empty(&bitbang->queue));
	destroy_workqueue(bitbang->workqueue);
	return 0;
}