Commit d5365c0f authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

fix SPI transport attributes not showing up in sysfs

There was a typo in the host patch that
wrongly added a null into the target attributes.
parent 26bef1e4
...@@ -814,7 +814,7 @@ spi_attach_transport(struct spi_function_template *ft) ...@@ -814,7 +814,7 @@ spi_attach_transport(struct spi_function_template *ft)
BUG_ON(count > SPI_HOST_ATTRS); BUG_ON(count > SPI_HOST_ATTRS);
i->attrs[count] = NULL; i->host_attrs[count] = NULL;
return &i->t; return &i->t;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment