/* Set write enable latch with Write Enable command. Returns negative if error occurred.  */
static int write_enable(struct spi_nor *nor)
/* Set write enable latch with Write Enable command. Returns negative if error occurred.  */
static int write_enable(struct spi_nor *nor)
{
	return spi_nor_write_reg(nor, SPINOR_OP_WREN, NULL, 0);
}