|
@@ -345,7 +345,6 @@ static DEFINE_MUTEX(board_lock);
|
|
struct spi_device *spi_alloc_device(struct spi_master *master)
|
|
struct spi_device *spi_alloc_device(struct spi_master *master)
|
|
{
|
|
{
|
|
struct spi_device *spi;
|
|
struct spi_device *spi;
|
|
- struct device *dev = master->dev.parent;
|
|
|
|
|
|
|
|
if (!spi_master_get(master))
|
|
if (!spi_master_get(master))
|
|
return NULL;
|
|
return NULL;
|