drivers/spi/spi_flash: Pass in spi_slave structure as const to probe functions

Pointer to spi_slave structure can be passed in as const to spi flash
probe functions since the probe functions do not need to modify the
slave properties.


Change-Id: I956ee777c62dbb811fd6ce2aeb6ae090e1892acd
Signed-off-by: Furquan Shaikh <>
Reviewed-by: Aaron Durbin <>
Tested-by: build bot (Jenkins) <>
16 files changed