[PATCH v3] misc: sram: Fix NULL pointer dereference in sram_probe