mtd: spi-nor: Make the enable argument passed to set_byte() a bool
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 6 Dec 2018 10:41:19 +0000 (11:41 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 10 Dec 2018 20:59:08 +0000 (21:59 +0100)
commiteb6ec1d79b40badeecea4194547ebd90dc560d5e
tree37102129bb7e1da603b426f0cbb281a572501cd4
parentb296379fef7ce9f96129798825ab04683414313b
mtd: spi-nor: Make the enable argument passed to set_byte() a bool

No need to use an integer when the value is either true or false.
Make it a boolean.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c