it85spi.c: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within
the spi_master data field for the life-time of the driver.
Signed-off-by: Anastasia Klimchuk <email@example.com>
Tested-by: build bot (Jenkins) <firstname.lastname@example.org>
Reviewed-by: Daniel Kurtz <email@example.com>
Reviewed-by: Edward O'Callaghan <firstname.lastname@example.org>
1 file changed