1 comment:
static int get_data_from_context(const struct flashctx *flash, struct it85spi_data **data)
{
if (!flash || !flash->mst || !flash->mst->spi.data) {
msg_perr("Unable to extract data from flash context.\n");
return SPI_GENERIC_ERROR;
}
*data = (struct it85spi_data *) flash->mst->spi.data;
return 0;
}
Consistency is good. […]
In that case, I think inlining in this patch seems reasonable to keep this commit diff down some.
To view, visit change 47655. To unsubscribe, or for help writing mail filters, visit settings.